#978540
Closest named color: Coffee (#A6814C). oklch(61.8% 0.092 94.9), rgb(151, 133, 64).
Aa
Black text reads best on this color (5.74:1).
About this color
#978540 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.092 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Coffee (#A6814C), ΔE 0.032 away. Black text reads best on it, at 5.74:1.
| Hue family | Yellows |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.092) |
| Temperature | warm |
| Nearest name | Coffee (#A6814C) |
| Black text | 5.74:1 |
| White text | 3.65:1 |
Values
| HEX | #978540 |
| RGB | rgb(151, 133, 64) |
| HSL | hsl(48, 40%, 42%) |
| OKLCH | oklch(61.8% 0.092 94.9) |
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 #978540 | 3.65:1 | AA large text | Lc -69.6 | Content text, not long reading |
| Black text on #978540 | 5.74:1 | AA | Lc 40.0 | Non-text elements, placeholder text |
| #978540 text on white | 3.65:1 | AA large text | Lc 64.1 | Content text, not long reading |
| #978540 text on black | 5.74:1 | AA | Lc -37.6 | 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
#F7F5F1
oklch(97.1% 0.006 84.6)
-
Step 100
100
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DED9C7
oklch(88.4% 0.025 94.1)
-
Step 300
300
#C9C1A0
oklch(80.9% 0.046 95.9)
-
Step 400
400
#AEA16C
oklch(70.7% 0.073 96)
-
Step 500
500 (this color)
#978540
oklch(61.8% 0.092 94.9)
-
Step 600
600
#867222
oklch(55.6% 0.1 94.6)
-
Step 700
700
#716014
oklch(49.2% 0.093 95.6)
-
Step 800
800
#5C4E14
oklch(42.6% 0.077 95.1)
-
Step 900
900
#4C4118
oklch(37.7% 0.06 94.3)
-
Step 950
950
#2C260F
oklch(26.9% 0.038 95)
#978540 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) | #918239 | 0.015 |
| Deuteranopia (no green cones) | #968843 | 0.008 |
| Tritanopia (no blue cones) | #A27C75 | 0.083 |
| Achromatopsia (no color) | #868686 | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #978540
#978540
oklch(61.8% 0.092 94.9)
- #7581BD
#7581BD
oklch(61.8% 0.092 274.7)
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 #978540, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Coffee #A6814C ΔE 0.032
- Drab #828344 ΔE 0.033
- Camo #7F8F4E ΔE 0.041
- Puce #A57E52 ΔE 0.041
- Mustard Brown #AC7E04 ΔE 0.042
- Tan Brown #AB7E4C ΔE 0.043
- Dark Tan #AF884A ΔE 0.043
- Bronze #A87900 ΔE 0.044
Use #978540 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.