#7A862F

Closest named color: Khaki Green (#728639). oklch(59.2% 0.112 116.6), rgb(122, 134, 47).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.27:1
White text3.97:1

Values

HEX#7A862F
RGBrgb(122, 134, 47)
HSLhsl(68, 48%, 35%)
OKLCHoklch(59.2% 0.112 116.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 #7A862F 3.97:1 AA large text Lc -72.5 Content text, not long reading
Black text on #7A862F 5.27:1 AA Lc 37.0 Non-text elements, placeholder text
#7A862F text on white 3.97:1 AA large text Lc 67.0 Content text, not long reading
#7A862F text on black 5.27:1 AA Lc -34.6 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 600.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D8DCC7

    oklch(88.6% 0.029 115.7)

  4. Step 300

    300

    #BEC5A1

    oklch(80.8% 0.05 116.5)

  5. Step 400

    400

    #9DA76D

    oklch(70.6% 0.08 116.5)

  6. Step 500

    500

    #869144

    oklch(63.1% 0.103 116.2)

  7. Step 600

    600 (this color)

    #7A862F

    oklch(59.2% 0.112 116.6)

  8. Step 700

    700

    #5D6814

    oklch(49.2% 0.104 117.1)

  9. Step 800

    800

    #4C5514

    oklch(42.8% 0.087 117.1)

  10. Step 900

    900

    #3F4618

    oklch(37.7% 0.068 117)

  11. Step 950

    950

    #252910

    oklch(27% 0.042 116.8)

Export this scale for Tailwind in the Tailwind colors tool

#7A862F 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)#8F7F240.034
Deuteranopia (no green cones)#8E80350.036
Tritanopia (no blue cones)#817F740.096
Achromatopsia (no color)#7F7F7F0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A862F

    #7A862F

    oklch(59.2% 0.112 116.6)

  • #856FB8

    #856FB8

    oklch(59.3% 0.111 296.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A862F

    #7A862F

    oklch(59.2% 0.112 116.6)

  • #9B791C

    #9B791C

    oklch(59.3% 0.112 86.9)

  • #4D9055

    #4D9055

    oklch(59.3% 0.112 146.6)

Open the analogous palette in the generator

Split complementary

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

  • #7A862F

    #7A862F

    oklch(59.2% 0.112 116.6)

  • #5F7BC1

    #5F7BC1

    oklch(59.2% 0.112 266.5)

  • #A065A1

    #A065A1

    oklch(59.2% 0.112 326.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A862F

    #7A862F

    oklch(59.2% 0.112 116.6)

  • #2B87B8

    #2B87B8

    oklch(59.3% 0.112 236.9)

  • #B2607F

    #B2607F

    oklch(59.3% 0.112 357)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A862F

    #7A862F

    oklch(59.2% 0.112 116.6)

  • #008E9C

    #008E9C

    oklch(59.1% 0.101 207)

  • #856FB8

    #856FB8

    oklch(59.3% 0.111 296.8)

  • #B76259

    #B76259

    oklch(59.3% 0.111 27.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7A862F 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.