#978F52
Closest named color: Dark Sand (#A88F59). oklch(64.3% 0.082 101.8), rgb(151, 143, 82).
Aa
Black text reads best on this color (6.36:1).
About this color
#978F52 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.082 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Sand (#A88F59), ΔE 0.029 away. Black text reads best on it, at 6.36:1.
| Hue family | Yellows |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.082) |
| Temperature | warm |
| Nearest name | Dark Sand (#A88F59) |
| Black text | 6.36:1 |
| White text | 3.29:1 |
Values
| HEX | #978F52 |
| RGB | rgb(151, 143, 82) |
| HSL | hsl(53, 30%, 46%) |
| OKLCH | oklch(64.3% 0.082 101.8) |
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 #978F52 | 3.29:1 | AA large text | Lc -65.8 | Content text, not long reading |
| Black text on #978F52 | 6.36:1 | AA | Lc 43.7 | Non-text elements, placeholder text |
| #978F52 text on white | 3.29:1 | AA large text | Lc 60.3 | Content text, not long reading |
| #978F52 text on black | 6.36:1 | AA | Lc -41.4 | 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
#F6F6F2
oklch(97.2% 0.005 106.5)
-
Step 100
100
#EBEAE2
oklch(93.6% 0.011 100.8)
-
Step 200
200
#DCDAC9
oklch(88.5% 0.023 101.4)
-
Step 300
300
#C5C2A5
oklch(80.9% 0.04 102.4)
-
Step 400
400
#A8A274
oklch(70.6% 0.063 101.6)
-
Step 500
500 (this color)
#978F52
oklch(64.3% 0.082 101.8)
-
Step 600
600
#7E7531
oklch(55.6% 0.089 101.8)
-
Step 700
700
#6A6223
oklch(49% 0.083 102.1)
-
Step 800
800
#57501F
oklch(42.7% 0.069 101.2)
-
Step 900
900
#47431F
oklch(37.8% 0.054 103)
-
Step 950
950
#2A2713
oklch(27% 0.034 100.9)
#978F52 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) | #998B4D | 0.011 |
| Deuteranopia (no green cones) | #9C8F55 | 0.009 |
| Tritanopia (no blue cones) | #A08780 | 0.075 |
| Achromatopsia (no color) | #8D8D8D | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #978F52
#978F52
oklch(64.3% 0.082 101.8)
- #8587BE
#8587BE
oklch(64.3% 0.082 282.2)
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 #978F52, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Sand #A88F59 ΔE 0.029
- Camo #7F8F4E ΔE 0.036
- Dark Tan #AF884A ΔE 0.039
- Dark Beige #AC9362 ΔE 0.041
- Coffee #A6814C ΔE 0.041
- Light Brown #AD8150 ΔE 0.049
- Drab #828344 ΔE 0.050
- Moss #769958 ΔE 0.050
Use #978F52 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.