#818228

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

Aa

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

About this color

#818228 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.111 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.111)
Temperaturewarm
Nearest nameOlive (#808000)
Black text5.15:1
White text4.07:1

Values

HEX#818228
RGBrgb(129, 130, 40)
HSLhsl(61, 53%, 33%)
OKLCHoklch(58.8% 0.111 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 #818228 4.07:1 AA large text Lc -73.3 Content text, not long reading
Black text on #818228 5.15:1 AA Lc 36.3 Non-text elements, placeholder text
#818228 text on white 4.07:1 AA large text Lc 67.8 Content text, not long reading
#818228 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

    #DADBC6

    oklch(88.5% 0.028 109.2)

  4. Step 300

    300

    #C2C49F

    oklch(80.9% 0.05 110)

  5. Step 400

    400

    #A3A56A

    oklch(70.6% 0.08 109.9)

  6. Step 500

    500

    #8D8F40

    oklch(63.1% 0.102 110.3)

  7. Step 600

    600 (this color)

    #818228

    oklch(58.8% 0.111 110)

  8. Step 700

    700

    #65650B

    oklch(49.1% 0.103 109.7)

  9. Step 800

    800

    #52530F

    oklch(42.8% 0.086 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

#818228 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)#8C7C1B0.021
Deuteranopia (no green cones)#8D7F2E0.022
Tritanopia (no blue cones)#8A7A700.099
Achromatopsia (no color)#7E7E7E0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #818228

    #818228

    oklch(58.8% 0.111 110)

  • #7C70BA

    #7C70BA

    oklch(58.8% 0.112 290)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818228

    #818228

    oklch(58.8% 0.111 110)

  • #9F741F

    #9F741F

    oklch(58.8% 0.111 79.6)

  • #578D4C

    #578D4C

    oklch(58.9% 0.111 140.3)

Open the analogous palette in the generator

Split complementary

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

  • #818228

    #818228

    oklch(58.8% 0.111 110)

  • #557DBE

    #557DBE

    oklch(58.9% 0.11 259.7)

  • #9A66A5

    #9A66A5

    oklch(58.9% 0.11 320.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818228

    #818228

    oklch(58.8% 0.111 110)

  • #1A88B1

    #1A88B1

    oklch(58.8% 0.11 229.7)

  • #AD6086

    #AD6086

    oklch(58.9% 0.11 350)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818228

    #818228

    oklch(58.8% 0.111 110)

  • #008E94

    #008E94

    oklch(58.8% 0.1 200.1)

  • #7C70BA

    #7C70BA

    oklch(58.8% 0.112 290)

  • #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 #818228, closest first.

Similar named colors

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

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