#818229

Closest named color: Olive (#808000). oklch(58.8% 0.11 110), rgb(129, 130, 41).

Aa

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

About this color

#818229 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.110 and its hue 110°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.018 away. Black text reads best on it, at 5.15:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.110)
Temperaturewarm
Nearest nameOlive (#808000)
Black text5.15:1
White text4.07:1

Values

HEX#818229
RGBrgb(129, 130, 41)
HSLhsl(61, 52%, 34%)
OKLCHoklch(58.8% 0.11 110)

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 #818229 4.07:1 AA large text Lc -73.3 Content text, not long reading
Black text on #818229 5.15:1 AA Lc 36.3 Non-text elements, placeholder text
#818229 text on white 4.07:1 AA large text Lc 67.8 Content text, not long reading
#818229 text on black 5.15:1 AA Lc -33.8 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

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #DADBC7

    oklch(88.5% 0.027 109.3)

  4. Step 300

    300

    #C2C49F

    oklch(80.9% 0.05 110)

  5. Step 400

    400

    #A3A56B

    oklch(70.6% 0.078 109.9)

  6. Step 500

    500

    #8D8F41

    oklch(63.2% 0.101 110.3)

  7. Step 600

    600 (this color)

    #818229

    oklch(58.8% 0.11 110)

  8. Step 700

    700

    #65650D

    oklch(49.1% 0.102 109.6)

  9. Step 800

    800

    #525310

    oklch(42.8% 0.085 110.4)

  10. Step 900

    900

    #444416

    oklch(37.6% 0.066 109.2)

  11. Step 950

    950

    #28280E

    oklch(27% 0.042 108.9)

Export this scale for Tailwind in the Tailwind colors tool

#818229 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)#8C7C1C0.021
Deuteranopia (no green cones)#8D7F2F0.022
Tritanopia (no blue cones)#8A7A700.098
Achromatopsia (no color)#7E7E7E0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #818229

    #818229

    oklch(58.8% 0.11 110)

  • #7C70B9

    #7C70B9

    oklch(58.7% 0.11 290.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818229

    #818229

    oklch(58.8% 0.11 110)

  • #9F7420

    #9F7420

    oklch(58.8% 0.11 79.5)

  • #588C4C

    #588C4C

    oklch(58.7% 0.109 139.8)

Open the analogous palette in the generator

Split complementary

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

  • #818229

    #818229

    oklch(58.8% 0.11 110)

  • #557DBE

    #557DBE

    oklch(58.9% 0.11 259.7)

  • #9966A5

    #9966A5

    oklch(58.8% 0.11 319.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818229

    #818229

    oklch(58.8% 0.11 110)

  • #1C88B1

    #1C88B1

    oklch(58.8% 0.11 229.9)

  • #AD6086

    #AD6086

    oklch(58.9% 0.11 350)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818229

    #818229

    oklch(58.8% 0.11 110)

  • #008E94

    #008E94

    oklch(58.8% 0.1 200.1)

  • #7C70B9

    #7C70B9

    oklch(58.7% 0.11 290.1)

  • #B56061

    #B56061

    oklch(58.9% 0.11 20.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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