#7A8A2F

Closest named color: Khaki Green (#728639). oklch(60.2% 0.117 118.6), rgb(122, 138, 47).

Aa

Black text reads best on this color (5.50:1).

About this color

#7A8A2F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.117 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.020 away. Black text reads best on it, at 5.50:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.50:1
White text3.81:1

Values

HEX#7A8A2F
RGBrgb(122, 138, 47)
HSLhsl(71, 49%, 36%)
OKLCHoklch(60.2% 0.117 118.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #7A8A2F 3.81:1 AA large text Lc -71.1 Content text, not long reading
Black text on #7A8A2F 5.50:1 AA Lc 38.5 Non-text elements, placeholder text
#7A8A2F text on white 3.81:1 AA large text Lc 65.6 Content text, not long reading
#7A8A2F text on black 5.50:1 AA Lc -36.1 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D7DCC5

    oklch(88.4% 0.031 117)

  4. Step 300

    300

    #BCC69D

    oklch(80.8% 0.057 118.8)

  5. Step 400

    400

    #9BA966

    oklch(70.8% 0.092 118.4)

  6. Step 500

    500 (this color)

    #7A8A2F

    oklch(60.2% 0.117 118.6)

  7. Step 600

    600

    #6C7D0A

    oklch(55.6% 0.127 118.9)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5604

    oklch(42.8% 0.098 118.7)

  10. Step 900

    900

    #3E4711

    oklch(37.8% 0.076 118.4)

  11. Step 950

    950

    #242A0C

    oklch(27.1% 0.049 119.3)

Export this scale for Tailwind in the Tailwind colors tool

#7A8A2F with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9382230.040
Deuteranopia (no green cones)#9183350.041
Tritanopia (no blue cones)#8183770.099
Achromatopsia (no color)#8383830.117

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #7A8A2F

    #7A8A2F

    oklch(60.2% 0.117 118.6)

  • #8A70BD

    #8A70BD

    oklch(60.2% 0.117 298.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A8A2F

    #7A8A2F

    oklch(60.2% 0.117 118.6)

  • #9D7C16

    #9D7C16

    oklch(60.2% 0.117 88.7)

  • #499458

    #499458

    oklch(60.3% 0.117 148.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #7A8A2F

    #7A8A2F

    oklch(60.2% 0.117 118.6)

  • #647DC7

    #647DC7

    oklch(60.3% 0.117 268.6)

  • #A666A3

    #A666A3

    oklch(60.2% 0.116 328.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A8A2F

    #7A8A2F

    oklch(60.2% 0.117 118.6)

  • #2C89BE

    #2C89BE

    oklch(60.1% 0.117 238.6)

  • #B86180

    #B86180

    oklch(60.3% 0.117 358.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A8A2F

    #7A8A2F

    oklch(60.2% 0.117 118.6)

  • #0091A1

    #0091A1

    oklch(60.1% 0.103 208.4)

  • #8A70BD

    #8A70BD

    oklch(60.2% 0.117 298.4)

  • #BC6358

    #BC6358

    oklch(60.1% 0.116 28.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7A8A2F, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #7A8A2F in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.