#817500
Closest named color: Hazel (#8E7618). oklch(55.6% 0.117 102.3), rgb(129, 117, 0).
Aa
White text reads best on this color (4.68:1).
About this color
#817500 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.117 and its hue 102°. 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.68:1.
| Hue family | Yellows |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.117) |
| Temperature | warm |
| Nearest name | Hazel (#8E7618) |
| Black text | 4.47:1 |
| White text | 4.68:1 |
Values
| HEX | #817500 |
| RGB | rgb(129, 117, 0) |
| HSL | hsl(54, 100%, 25%) |
| OKLCH | oklch(55.6% 0.117 102.3) |
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 #817500 | 4.68:1 | AA | Lc -77.8 | Fine for body text |
| Black text on #817500 | 4.47:1 | AA large text | Lc 31.7 | Non-text elements, placeholder text |
| #817500 text on white | 4.68:1 | AA | Lc 72.4 | Content text, not long reading |
| #817500 text on black | 4.47:1 | AA large text | Lc -29.3 | 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
#F6F6F0
oklch(97.1% 0.008 106.5)
-
Step 100
100
#EBEADF
oklch(93.5% 0.015 102.5)
-
Step 200
200
#DCDAC5
oklch(88.4% 0.028 102.5)
-
Step 300
300
#C7C29C
oklch(80.8% 0.051 101.2)
-
Step 400
400
#ABA364
oklch(70.8% 0.084 102)
-
Step 500
500
#968C36
oklch(63.2% 0.107 102.7)
-
Step 600
600 (this color)
#817500
oklch(55.6% 0.117 102.3)
-
Step 700
700
#6C6200
oklch(49% 0.103 102.5)
-
Step 800
800
#595000
oklch(42.7% 0.089 102)
-
Step 900
900
#49430E
oklch(37.8% 0.071 102.7)
-
Step 950
950
#2B270B
oklch(27% 0.044 101.2)
#817500 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) | #817100 | 0.011 |
| Deuteranopia (no green cones) | #857610 | 0.009 |
| Tritanopia (no blue cones) | #8C6B63 | 0.108 |
| Achromatopsia (no color) | #747474 | 0.117 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #817500
#817500
oklch(55.6% 0.117 102.3)
- #6A69B5
#6A69B5
oklch(55.6% 0.116 282.5)
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 #817500, closest first.
No curated palette has a color within ΔE 0.04 of #817500.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hazel #8E7618 ΔE 0.025
- Olive #808000 ΔE 0.031
- Murky Green #6C7A0E ΔE 0.033
- Muddy Brown #886806 ΔE 0.038
- Brown Green #706C11 ΔE 0.040
- Browny Green #6F6C0A ΔE 0.041
- Olive Green #677A04 ΔE 0.041
- Muddy Green #657432 ΔE 0.047
Use #817500 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.