#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 family | Yellows |
| Lightness | medium-dark (55%) |
| Chroma | moderately saturated (0.106) |
| Temperature | warm |
| Nearest name | Hazel (#8E7618) |
| Black text | 4.35:1 |
| White text | 4.82:1 |
Values
| HEX | #817217 |
| RGB | rgb(129, 114, 23) |
| HSL | hsl(52, 70%, 30%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DDDAC6
oklch(88.5% 0.027 99.9)
-
Step 300
300
#C8C29F
oklch(81% 0.048 99.3)
-
Step 400
400
#ACA269
oklch(70.7% 0.077 99.5)
-
Step 500
500
#988A3F
oklch(63% 0.097 98.9)
-
Step 600
600 (this color)
#817217
oklch(55% 0.106 99.2)
-
Step 700
700
#6F6109
oklch(49.1% 0.099 99)
-
Step 800
800
#5A4F0E
oklch(42.6% 0.081 99)
-
Step 900
900
#4A4215
oklch(37.7% 0.064 99.2)
-
Step 950
950
#2B270E
oklch(27% 0.04 100.4)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #7E6F00 | 0.012 |
| Deuteranopia (no green cones) | #82741E | 0.007 |
| Tritanopia (no blue cones) | #8C6961 | 0.097 |
| Achromatopsia (no color) | #727272 | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Hazel #8E7618 ΔE 0.025
- Muddy Brown #886806 ΔE 0.028
- Brown Green #706C11 ΔE 0.034
- Browny Green #6F6C0A ΔE 0.036
- Murky Green #6C7A0E ΔE 0.040
- Olive #808000 ΔE 0.043
- Muddy Green #657432 ΔE 0.043
- Military Green #667C3E ΔE 0.047
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.