#9D970B
Closest named color: Pea Soup (#929901). oklch(66% 0.139 106.8), rgb(157, 151, 11).
Aa
Black text reads best on this color (6.86:1).
About this color
#9D970B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.139 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.018 away. Black text reads best on it, at 6.86:1.
| Hue family | Yellows |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.139) |
| Temperature | warm |
| Nearest name | Pea Soup (#929901) |
| Black text | 6.86:1 |
| White text | 3.05:1 |
Values
| HEX | #9D970B |
| RGB | rgb(157, 151, 11) |
| HSL | hsl(58, 87%, 33%) |
| OKLCH | oklch(66% 0.139 106.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 #9D970B | 3.05:1 | AA large text | Lc -62.7 | Content text, not long reading |
| Black text on #9D970B | 6.86:1 | AA | Lc 46.8 | Large or bold text, headings |
| #9D970B text on white | 3.05:1 | AA large text | Lc 57.3 | Large or bold text, headings |
| #9D970B text on black | 6.86:1 | AA | Lc -44.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
#F6F6EF
oklch(97.1% 0.009 106.6)
-
Step 100
100
#EBEBDC
oklch(93.6% 0.02 106.8)
-
Step 200
200
#DCDBBF
oklch(88.5% 0.037 105.5)
-
Step 300
300
#C5C491
oklch(80.9% 0.068 106.9)
-
Step 400
400
#A9A54F
oklch(70.7% 0.109 106.5)
-
Step 500
500 (this color)
#9D970B
oklch(66% 0.139 106.8)
-
Step 600
600
#7C7700
oklch(55.6% 0.119 106.8)
-
Step 700
700
#686400
oklch(49.1% 0.105 107)
-
Step 800
800
#555200
oklch(42.8% 0.092 107.3)
-
Step 900
900
#474400
oklch(37.7% 0.081 106.8)
-
Step 950
950
#2A2800
oklch(27% 0.058 106.8)
#9D970B 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) | #A59100 | 0.019 |
| Deuteranopia (no green cones) | #A8951D | 0.020 |
| Tritanopia (no blue cones) | #A98C80 | 0.126 |
| Achromatopsia (no color) | #939393 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9D970B
#9D970B
oklch(66% 0.139 106.8)
- #8D83E3
#8D83E3
oklch(66% 0.14 286.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 #9D970B, closest first.
No curated palette has a color within ΔE 0.04 of #9D970B.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea Soup #929901 ΔE 0.018
- Brown Yellow #B29705 ΔE 0.033
- Dark Gold #B59410 ΔE 0.039
- Dark Mustard #A88905 ΔE 0.040
- Yellowy Brown #AE8B0C ΔE 0.040
- Yellow Brown #B79400 ΔE 0.041
- Pea Soup Green #94A617 ΔE 0.041
- Avocado Green #87A922 ΔE 0.053
Use #9D970B 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.