#818F2B

Closest named color: Dark Yellow Green (#728F02). oklch(61.9% 0.124 117), rgb(129, 143, 43).

Aa

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

About this color

#818F2B is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.124 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.031 away. Black text reads best on it, at 5.89:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text5.89:1
White text3.56:1

Values

HEX#818F2B
RGBrgb(129, 143, 43)
HSLhsl(68, 54%, 36%)
OKLCHoklch(61.9% 0.124 117)

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 #818F2B 3.56:1 AA large text Lc -68.6 Content text, not long reading
Black text on #818F2B 5.89:1 AA Lc 41.0 Non-text elements, placeholder text
#818F2B text on white 3.56:1 AA large text Lc 63.1 Content text, not long reading
#818F2B text on black 5.89:1 AA Lc -38.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 500.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9ECDF

    oklch(93.7% 0.018 117.3)

  3. Step 200

    200

    #D7DCC4

    oklch(88.4% 0.033 116.6)

  4. Step 300

    300

    #BDC69A

    oklch(80.8% 0.06 117.2)

  5. Step 400

    400

    #9CA961

    oklch(70.8% 0.097 117.3)

  6. Step 500

    500 (this color)

    #818F2B

    oklch(61.9% 0.124 117)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F470A

    oklch(37.8% 0.081 117.1)

  11. Step 950

    950

    #252909

    oklch(26.9% 0.05 115.9)

Export this scale for Tailwind in the Tailwind colors tool

#818F2B 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)#99871C0.039
Deuteranopia (no green cones)#9788330.040
Tritanopia (no blue cones)#89877B0.107
Achromatopsia (no color)#8888880.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #818F2B

    #818F2B

    oklch(61.9% 0.124 117)

  • #8E74C7

    #8E74C7

    oklch(61.8% 0.125 297)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818F2B

    #818F2B

    oklch(61.9% 0.124 117)

  • #A6800D

    #A6800D

    oklch(62% 0.124 87)

  • #4D9A58

    #4D9A58

    oklch(62% 0.124 147)

Open the analogous palette in the generator

Split complementary

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

  • #818F2B

    #818F2B

    oklch(61.9% 0.124 117)

  • #6482D0

    #6482D0

    oklch(61.9% 0.123 266.9)

  • #AD69AC

    #AD69AC

    oklch(61.9% 0.124 327.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818F2B

    #818F2B

    oklch(61.9% 0.124 117)

  • #2490C6

    #2490C6

    oklch(62% 0.123 236.5)

  • #C06487

    #C06487

    oklch(62% 0.124 357.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818F2B

    #818F2B

    oklch(61.9% 0.124 117)

  • #0097A6

    #0097A6

    oklch(61.8% 0.106 207.2)

  • #8E74C7

    #8E74C7

    oklch(61.8% 0.125 297)

  • #C5665C

    #C5665C

    oklch(61.9% 0.123 27.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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