#958E40
Closest named color: Camo (#7F8F4E). oklch(63.6% 0.1 104.2), rgb(149, 142, 64).
Aa
Black text reads best on this color (6.22:1).
About this color
#958E40 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.100 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.032 away. Black text reads best on it, at 6.22:1.
| Hue family | Yellows |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.100) |
| Temperature | warm |
| Nearest name | Camo (#7F8F4E) |
| Black text | 6.22:1 |
| White text | 3.37:1 |
Values
| HEX | #958E40 |
| RGB | rgb(149, 142, 64) |
| HSL | hsl(55, 40%, 42%) |
| OKLCH | oklch(63.6% 0.1 104.2) |
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 #958E40 | 3.37:1 | AA large text | Lc -66.6 | Content text, not long reading |
| Black text on #958E40 | 6.22:1 | AA | Lc 42.9 | Non-text elements, placeholder text |
| #958E40 text on white | 3.37:1 | AA large text | Lc 61.2 | Content text, not long reading |
| #958E40 text on black | 6.22:1 | AA | Lc -40.5 | 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
#C5C39F
oklch(80.9% 0.049 104.8)
-
Step 400
400
#A8A369
oklch(70.6% 0.078 104)
-
Step 500
500 (this color)
#958E40
oklch(63.6% 0.1 104.2)
-
Step 600
600
#7E7618
oklch(55.6% 0.109 104.3)
-
Step 700
700
#6A6307
oklch(49.1% 0.101 104.6)
-
Step 800
800
#57510D
oklch(42.8% 0.084 104.1)
-
Step 900
900
#474315
oklch(37.6% 0.065 104.3)
-
Step 950
950
#2A270E
oklch(26.9% 0.04 102.5)
#958E40 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) | #998A38 | 0.012 |
| Deuteranopia (no green cones) | #9C8E44 | 0.012 |
| Tritanopia (no blue cones) | #9F857D | 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°).
- #958E40
#958E40
oklch(63.6% 0.1 104.2)
- #8482C6
#8482C6
oklch(63.6% 0.101 284.5)
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 #958E40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camo #7F8F4E ΔE 0.032
- Dark Mustard #A88905 ΔE 0.038
- Dark Sand #A88F59 ΔE 0.043
- Yellowy Brown #AE8B0C ΔE 0.044
- Drab #828344 ΔE 0.045
- Drab Green #749551 ΔE 0.046
- Dark Tan #AF884A ΔE 0.047
- Moss #769958 ΔE 0.048
Use #958E40 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.