#7F893A

Closest named color: Khaki Green (#728639). oklch(60.5% 0.104 115.6), rgb(127, 137, 58).

Aa

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

About this color

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

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

Values

HEX#7F893A
RGBrgb(127, 137, 58)
HSLhsl(68, 41%, 38%)
OKLCHoklch(60.5% 0.104 115.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 #7F893A 3.78:1 AA large text Lc -70.9 Content text, not long reading
Black text on #7F893A 5.54:1 AA Lc 38.7 Non-text elements, placeholder text
#7F893A text on white 3.78:1 AA large text Lc 65.4 Content text, not long reading
#7F893A text on black 5.54:1 AA Lc -36.3 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

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D8DCC7

    oklch(88.6% 0.029 115.7)

  4. Step 300

    300

    #BFC5A0

    oklch(80.9% 0.051 115)

  5. Step 400

    400

    #9EA76C

    oklch(70.7% 0.081 115.6)

  6. Step 500

    500 (this color)

    #7F893A

    oklch(60.5% 0.104 115.6)

  7. Step 600

    600

    #717B1F

    oklch(55.7% 0.113 115.6)

  8. Step 700

    700

    #5F6710

    oklch(49.1% 0.105 115.1)

  9. Step 800

    800

    #4D5412

    oklch(42.6% 0.087 115.5)

  10. Step 900

    900

    #404617

    oklch(37.8% 0.068 115.9)

  11. Step 950

    950

    #25290F

    oklch(27% 0.043 116.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F893A 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)#9283320.030
Deuteranopia (no green cones)#91843F0.032
Tritanopia (no blue cones)#8682780.091
Achromatopsia (no color)#8383830.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F893A

    #7F893A

    oklch(60.5% 0.104 115.6)

  • #8774B9

    #8774B9

    oklch(60.5% 0.104 295.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F893A

    #7F893A

    oklch(60.5% 0.104 115.6)

  • #9E7C2D

    #9E7C2D

    oklch(60.4% 0.104 85)

  • #56925A

    #56925A

    oklch(60.4% 0.105 145.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F893A

    #7F893A

    oklch(60.5% 0.104 115.6)

  • #6480C0

    #6480C0

    oklch(60.6% 0.103 265.5)

  • #A16BA3

    #A16BA3

    oklch(60.4% 0.103 325.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F893A

    #7F893A

    oklch(60.5% 0.104 115.6)

  • #378BB7

    #378BB7

    oklch(60.5% 0.104 235.2)

  • #B26684

    #B26684

    oklch(60.4% 0.104 355.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F893A

    #7F893A

    oklch(60.5% 0.104 115.6)

  • #0093A0

    #0093A0

    oklch(60.6% 0.104 205.8)

  • #8774B9

    #8774B9

    oklch(60.5% 0.104 295.8)

  • #B86861

    #B86861

    oklch(60.6% 0.104 25.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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