#987D00
Closest named color: Hazel (#8E7618). oklch(59.8% 0.122 93.7), rgb(152, 125, 0).
Aa
Black text reads best on this color (5.26:1).
About this color
#987D00 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.122 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.028 away. Black text reads best on it, at 5.26:1.
| Hue family | Yellows |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.122) |
| Temperature | warm |
| Nearest name | Hazel (#8E7618) |
| Black text | 5.26:1 |
| White text | 3.98:1 |
Values
| HEX | #987D00 |
| RGB | rgb(152, 125, 0) |
| HSL | hsl(49, 100%, 30%) |
| OKLCH | oklch(59.8% 0.122 93.7) |
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 #987D00 | 3.98:1 | AA large text | Lc -72.5 | Content text, not long reading |
| Black text on #987D00 | 5.26:1 | AA | Lc 37.1 | Non-text elements, placeholder text |
| #987D00 text on white | 3.98:1 | AA large text | Lc 67.0 | Content text, not long reading |
| #987D00 text on black | 5.26:1 | AA | Lc -34.7 | 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 500.
-
Step 50
50
#F7F5F0
oklch(97% 0.007 88.6)
-
Step 100
100
#EDEADD
oklch(93.6% 0.018 96.1)
-
Step 200
200
#E0D9C1
oklch(88.4% 0.033 93.5)
-
Step 300
300
#CDC095
oklch(80.8% 0.059 93.2)
-
Step 400
400
#B4A057
oklch(70.8% 0.096 94.4)
-
Step 500
500 (this color)
#987D00
oklch(59.8% 0.122 93.7)
-
Step 600
600
#8A7100
oklch(55.6% 0.114 93.5)
-
Step 700
700
#745F00
oklch(49.2% 0.101 93.8)
-
Step 800
800
#5F4D00
oklch(42.6% 0.087 93.4)
-
Step 900
900
#4F4000
oklch(37.6% 0.077 93.9)
-
Step 950
950
#2F2604
oklch(27.1% 0.051 93.9)
#987D00 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) | #8C7B00 | 0.021 |
| Deuteranopia (no green cones) | #938310 | 0.017 |
| Tritanopia (no blue cones) | #A5716A | 0.113 |
| Achromatopsia (no color) | #7F7F7F | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #987D00
#987D00
oklch(59.8% 0.122 93.7)
- #6979C8
#6979C8
oklch(59.9% 0.122 273.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 #987D00, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Hazel #8E7618 ΔE 0.028
- Bronze #A87900 ΔE 0.029
- Mustard Brown #AC7E04 ΔE 0.035
- Olive #808000 ΔE 0.039
- Dark Mustard #A88905 ΔE 0.044
- Golden Brown #B27A01 ΔE 0.045
- Drab #828344 ΔE 0.047
- Caramel #AF6F09 ΔE 0.053
Use #987D00 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.