#8D9840
Closest named color: Pea Soup (#929901). oklch(65.2% 0.113 115.6), rgb(141, 152, 64).
Aa
Black text reads best on this color (6.69:1).
About this color
#8D9840 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.113 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.033 away. Black text reads best on it, at 6.69:1.
| Hue family | Yellows |
| Lightness | medium-light (65%) |
| Chroma | moderately saturated (0.113) |
| Temperature | in between |
| Nearest name | Pea Soup (#929901) |
| Black text | 6.69:1 |
| White text | 3.13:1 |
Values
| HEX | #8D9840 |
| RGB | rgb(141, 152, 64) |
| HSL | hsl(68, 41%, 42%) |
| OKLCH | oklch(65.2% 0.113 115.6) |
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 #8D9840 | 3.13:1 | AA large text | Lc -63.7 | Content text, not long reading |
| Black text on #8D9840 | 6.69:1 | AA | Lc 45.7 | Large or bold text, headings |
| #8D9840 text on white | 3.13:1 | AA large text | Lc 58.3 | Large or bold text, headings |
| #8D9840 text on black | 6.69:1 | AA | Lc -43.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
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#E9EBDF
oklch(93.5% 0.016 114.4)
-
Step 200
200
#D8DCC5
oklch(88.5% 0.031 115)
-
Step 300
300
#BFC59D
oklch(80.8% 0.055 114.6)
-
Step 400
400
#9EA866
oklch(70.8% 0.089 115.8)
-
Step 500
500 (this color)
#8D9840
oklch(65.2% 0.113 115.6)
-
Step 600
600
#717B0B
oklch(55.6% 0.123 115.4)
-
Step 700
700
#5F6800
oklch(49.3% 0.112 115.5)
-
Step 800
800
#4D5504
oklch(42.8% 0.096 115.9)
-
Step 900
900
#404611
oklch(37.7% 0.074 115.6)
-
Step 950
950
#25290C
oklch(26.9% 0.047 116.2)
#8D9840 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) | #A29137 | 0.033 |
| Deuteranopia (no green cones) | #A19245 | 0.035 |
| Tritanopia (no blue cones) | #959085 | 0.099 |
| Achromatopsia (no color) | #919191 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8D9840
#8D9840
oklch(65.2% 0.113 115.6)
- #9681CD
#9681CD
oklch(65.3% 0.113 295.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 #8D9840, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea Soup #929901 ΔE 0.033
- Moss #769958 ΔE 0.035
- Drab Green #749551 ΔE 0.038
- Camo #7F8F4E ΔE 0.039
- Flat Green #699D4C ΔE 0.044
- Off Green #6BA353 ΔE 0.047
- Dull Green #74A662 ΔE 0.048
- Dark Mustard #A88905 ΔE 0.052
Use #8D9840 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.