#978D28
Closest named color: Dark Mustard (#A88905). oklch(63.4% 0.119 103.6), rgb(151, 141, 40).
Aa
Black text reads best on this color (6.15:1).
About this color
#978D28 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.119 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.027 away. Black text reads best on it, at 6.15:1.
| Hue family | Yellows |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.119) |
| Temperature | warm |
| Nearest name | Dark Mustard (#A88905) |
| Black text | 6.15:1 |
| White text | 3.41:1 |
Values
| HEX | #978D28 |
| RGB | rgb(151, 141, 40) |
| HSL | hsl(55, 58%, 37%) |
| OKLCH | oklch(63.4% 0.119 103.6) |
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 #978D28 | 3.41:1 | AA large text | Lc -67.0 | Content text, not long reading |
| Black text on #978D28 | 6.15:1 | AA | Lc 42.6 | Non-text elements, placeholder text |
| #978D28 text on white | 3.41:1 | AA large text | Lc 61.5 | Content text, not long reading |
| #978D28 text on black | 6.15:1 | AA | Lc -40.2 | 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
#F6F6F0
oklch(97.1% 0.008 106.5)
-
Step 100
100
#EBEBDE
oklch(93.7% 0.017 106.7)
-
Step 200
200
#DCDBC2
oklch(88.6% 0.033 105.2)
-
Step 300
300
#C7C398
oklch(81% 0.058 103.2)
-
Step 400
400
#AAA35D
oklch(70.6% 0.092 103.5)
-
Step 500
500 (this color)
#978D28
oklch(63.4% 0.119 103.6)
-
Step 600
600
#807600
oklch(55.7% 0.117 103.6)
-
Step 700
700
#6B6300
oklch(49.2% 0.104 104)
-
Step 800
800
#585100
oklch(42.8% 0.09 103.8)
-
Step 900
900
#494303
oklch(37.7% 0.078 103.6)
-
Step 950
950
#2B2707
oklch(27% 0.048 102.2)
#978D28 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) | #9A8817 | 0.014 |
| Deuteranopia (no green cones) | #9D8D2F | 0.012 |
| Tritanopia (no blue cones) | #A38379 | 0.108 |
| Achromatopsia (no color) | #8B8B8B | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #978D28
#978D28
oklch(63.4% 0.119 103.6)
- #817FCF
#817FCF
oklch(63.2% 0.119 283.6)
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 #978D28, closest first.
No curated palette has a color within ΔE 0.04 of #978D28.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Mustard #A88905 ΔE 0.027
- Yellowy Brown #AE8B0C ΔE 0.036
- Pea Soup #929901 ΔE 0.041
- Camo #7F8F4E ΔE 0.043
- Mustard Brown #AC7E04 ΔE 0.047
- Drab #828344 ΔE 0.052
- Dark Goldenrod #B8860B ΔE 0.053
- Dark Gold #B59410 ΔE 0.053
Use #978D28 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.