#817217

Closest named color: Hazel (#8E7618). oklch(55% 0.106 99.2), rgb(129, 114, 23).

Aa

White text reads best on this color (4.82:1).

About this color

#817217 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 55%, its chroma 0.106 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.025 away. White text reads best on it, at 4.82:1.

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.106)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.35:1
White text4.82:1

Values

HEX#817217
RGBrgb(129, 114, 23)
HSLhsl(52, 70%, 30%)
OKLCHoklch(55% 0.106 99.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 #817217 4.82:1 AA Lc -78.8 Fine for body text
Black text on #817217 4.35:1 AA large text Lc 30.7 Non-text elements, placeholder text
#817217 text on white 4.82:1 AA Lc 73.3 Content text, not long reading
#817217 text on black 4.35:1 AA large text Lc -28.4 Dividers and decoration only

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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C8C29F

    oklch(81% 0.048 99.3)

  5. Step 400

    400

    #ACA269

    oklch(70.7% 0.077 99.5)

  6. Step 500

    500

    #988A3F

    oklch(63% 0.097 98.9)

  7. Step 600

    600 (this color)

    #817217

    oklch(55% 0.106 99.2)

  8. Step 700

    700

    #6F6109

    oklch(49.1% 0.099 99)

  9. Step 800

    800

    #5A4F0E

    oklch(42.6% 0.081 99)

  10. Step 900

    900

    #4A4215

    oklch(37.7% 0.064 99.2)

  11. Step 950

    950

    #2B270E

    oklch(27% 0.04 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#817217 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)#7E6F000.012
Deuteranopia (no green cones)#82741E0.007
Tritanopia (no blue cones)#8C69610.097
Achromatopsia (no color)#7272720.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #817217

    #817217

    oklch(55% 0.106 99.2)

  • #656AAE

    #656AAE

    oklch(55% 0.105 279.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817217

    #817217

    oklch(55% 0.106 99.2)

  • #99651F

    #99651F

    oklch(55% 0.106 69.5)

  • #5E7D36

    #5E7D36

    oklch(54.9% 0.105 129)

Open the analogous palette in the generator

Split complementary

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

  • #817217

    #817217

    oklch(55% 0.106 99.2)

  • #3B75AD

    #3B75AD

    oklch(54.9% 0.107 249.6)

  • #845FA0

    #845FA0

    oklch(55% 0.106 309.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817217

    #817217

    oklch(55% 0.106 99.2)

  • #007F99

    #007F99

    oklch(55.1% 0.1 218.8)

  • #9A5786

    #9A5786

    oklch(55% 0.108 339.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817217

    #817217

    oklch(55% 0.106 99.2)

  • #00837D

    #00837D

    oklch(55% 0.095 189.1)

  • #656AAE

    #656AAE

    oklch(55% 0.105 279.1)

  • #A55564

    #A55564

    oklch(55% 0.106 9.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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