#978E40
Closest named color: Camo (#7F8F4E). oklch(63.8% 0.1 102.8), rgb(151, 142, 64).
Aa
Black text reads best on this color (6.25:1).
About this color
#978E40 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.100 and its hue 103°. 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.25:1.
| Hue family | Yellows |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.100) |
| Temperature | warm |
| Nearest name | Camo (#7F8F4E) |
| Black text | 6.25:1 |
| White text | 3.35:1 |
Values
| HEX | #978E40 |
| RGB | rgb(151, 142, 64) |
| HSL | hsl(54, 40%, 42%) |
| OKLCH | oklch(63.8% 0.1 102.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 #978E40 | 3.35:1 | AA large text | Lc -66.4 | Content text, not long reading |
| Black text on #978E40 | 6.25:1 | AA | Lc 43.1 | Non-text elements, placeholder text |
| #978E40 text on white | 3.35:1 | AA large text | Lc 60.9 | Content text, not long reading |
| #978E40 text on black | 6.25:1 | AA | Lc -40.8 | 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
#EBEAE0
oklch(93.5% 0.013 102)
-
Step 200
200
#DCDAC6
oklch(88.5% 0.027 102.3)
-
Step 300
300
#C6C29E
oklch(80.8% 0.049 102.2)
-
Step 400
400
#A9A369
oklch(70.7% 0.078 103.1)
-
Step 500
500 (this color)
#978E40
oklch(63.8% 0.1 102.8)
-
Step 600
600
#807517
oklch(55.6% 0.109 102.2)
-
Step 700
700
#6C6205
oklch(49% 0.101 102.3)
-
Step 800
800
#58500C
oklch(42.6% 0.084 102.2)
-
Step 900
900
#484314
oklch(37.7% 0.066 103.2)
-
Step 950
950
#2A270D
oklch(26.9% 0.042 102.8)
#978E40 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) | #9A8A38 | 0.011 |
| Deuteranopia (no green cones) | #9C8E44 | 0.009 |
| Tritanopia (no blue cones) | #A1857D | 0.092 |
| Achromatopsia (no color) | #8C8C8C | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #978E40
#978E40
oklch(63.8% 0.1 102.8)
- #8383C7
#8383C7
oklch(63.8% 0.101 283.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 #978E40, 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.036
- Dark Sand #A88F59 ΔE 0.041
- Yellowy Brown #AE8B0C ΔE 0.041
- Dark Tan #AF884A ΔE 0.045
- Drab #828344 ΔE 0.047
- Coffee #A6814C ΔE 0.048
- Drab Green #749551 ΔE 0.049
Use #978E40 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.