#818B2F

Closest named color: Khaki Green (#728639). oklch(61% 0.116 115.2), rgb(129, 139, 47).

Aa

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

About this color

#818B2F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.116 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.028 away. Black text reads best on it, at 5.66:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.66:1
White text3.70:1

Values

HEX#818B2F
RGBrgb(129, 139, 47)
HSLhsl(67, 49%, 36%)
OKLCHoklch(61% 0.116 115.2)

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 #818B2F 3.70:1 AA large text Lc -70.0 Content text, not long reading
Black text on #818B2F 5.66:1 AA Lc 39.5 Non-text elements, placeholder text
#818B2F text on white 3.70:1 AA large text Lc 64.5 Content text, not long reading
#818B2F text on black 5.66:1 AA Lc -37.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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D8DCC5

    oklch(88.5% 0.031 115)

  4. Step 300

    300

    #BFC69C

    oklch(81% 0.057 115.4)

  5. Step 400

    400

    #9EA864

    oklch(70.8% 0.092 115.6)

  6. Step 500

    500 (this color)

    #818B2F

    oklch(61% 0.116 115.2)

  7. Step 600

    600

    #717B01

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5500

    oklch(42.8% 0.097 115.1)

  10. Step 900

    900

    #40460F

    oklch(37.7% 0.076 115.5)

  11. Step 950

    950

    #26290B

    oklch(27% 0.048 114.4)

Export this scale for Tailwind in the Tailwind colors tool

#818B2F 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)#9584230.033
Deuteranopia (no green cones)#9485350.034
Tritanopia (no blue cones)#8983780.101
Achromatopsia (no color)#8585850.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #818B2F

    #818B2F

    oklch(61% 0.116 115.2)

  • #8974C1

    #8974C1

    oklch(61% 0.116 295.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818B2F

    #818B2F

    oklch(61% 0.116 115.2)

  • #A37D1D

    #A37D1D

    oklch(61.1% 0.116 85.1)

  • #539556

    #539556

    oklch(61% 0.115 145)

Open the analogous palette in the generator

Split complementary

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

  • #818B2F

    #818B2F

    oklch(61% 0.116 115.2)

  • #6181C9

    #6181C9

    oklch(61.1% 0.116 265)

  • #A66AA9

    #A66AA9

    oklch(61.1% 0.115 325.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818B2F

    #818B2F

    oklch(61% 0.116 115.2)

  • #298DBE

    #298DBE

    oklch(61% 0.115 235.1)

  • #B96486

    #B96486

    oklch(61.1% 0.116 355.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818B2F

    #818B2F

    oklch(61% 0.116 115.2)

  • #0095A1

    #0095A1

    oklch(61.1% 0.104 204.8)

  • #8974C1

    #8974C1

    oklch(61% 0.116 295.3)

  • #BF655F

    #BF655F

    oklch(61% 0.116 25)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #818B2F 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.