#978B40
Closest named color: Camo (#7F8F4E). oklch(63.2% 0.097 100.3), rgb(151, 139, 64).
Aa
Black text reads best on this color (6.08:1).
About this color
#978B40 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.097 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.035 away. Black text reads best on it, at 6.08:1.
| Hue family | Yellows |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.097) |
| Temperature | warm |
| Nearest name | Camo (#7F8F4E) |
| Black text | 6.08:1 |
| White text | 3.45:1 |
Values
| HEX | #978B40 |
| RGB | rgb(151, 139, 64) |
| HSL | hsl(52, 40%, 42%) |
| OKLCH | oklch(63.2% 0.097 100.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 #978B40 | 3.45:1 | AA large text | Lc -67.5 | Content text, not long reading |
| Black text on #978B40 | 6.08:1 | AA | Lc 42.1 | Non-text elements, placeholder text |
| #978B40 text on white | 3.45:1 | AA large text | Lc 62.0 | Content text, not long reading |
| #978B40 text on black | 6.08:1 | AA | Lc -39.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
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DDDAC6
oklch(88.5% 0.027 99.9)
-
Step 300
300
#C7C29F
oklch(80.9% 0.048 100.6)
-
Step 400
400
#ABA26A
oklch(70.7% 0.076 100.2)
-
Step 500
500 (this color)
#978B40
oklch(63.2% 0.097 100.3)
-
Step 600
600
#82741B
oklch(55.6% 0.105 99.9)
-
Step 700
700
#6E610B
oklch(49% 0.098 99.7)
-
Step 800
800
#59500F
oklch(42.8% 0.082 101)
-
Step 900
900
#494216
oklch(37.6% 0.063 100.3)
-
Step 950
950
#2B270E
oklch(27% 0.04 100.4)
#978B40 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) | #978739 | 0.011 |
| Deuteranopia (no green cones) | #9A8C44 | 0.007 |
| Tritanopia (no blue cones) | #A2827A | 0.089 |
| Achromatopsia (no color) | #8A8A8A | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #978B40
#978B40
oklch(63.2% 0.097 100.3)
- #7E83C3
#7E83C3
oklch(63.2% 0.096 279.8)
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 #978B40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camo #7F8F4E ΔE 0.035
- Dark Mustard #A88905 ΔE 0.037
- Dark Sand #A88F59 ΔE 0.041
- Drab #828344 ΔE 0.041
- Coffee #A6814C ΔE 0.042
- Dark Tan #AF884A ΔE 0.042
- Yellowy Brown #AE8B0C ΔE 0.043
- Mustard Brown #AC7E04 ΔE 0.046
Use #978B40 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.