#9B9727
Closest named color: Pea Soup (#929901). oklch(66% 0.128 107.4), rgb(155, 151, 39).
Aa
Black text reads best on this color (6.84:1).
About this color
#9B9727 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.128 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.023 away. Black text reads best on it, at 6.84:1.
| Hue family | Yellows |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.128) |
| Temperature | warm |
| Nearest name | Pea Soup (#929901) |
| Black text | 6.84:1 |
| White text | 3.06:1 |
Values
| HEX | #9B9727 |
| RGB | rgb(155, 151, 39) |
| HSL | hsl(58, 60%, 38%) |
| OKLCH | oklch(66% 0.128 107.4) |
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 #9B9727 | 3.06:1 | AA large text | Lc -62.8 | Content text, not long reading |
| Black text on #9B9727 | 6.84:1 | AA | Lc 46.6 | Large or bold text, headings |
| #9B9727 text on white | 3.06:1 | AA large text | Lc 57.4 | Large or bold text, headings |
| #9B9727 text on black | 6.84:1 | AA | Lc -44.3 | 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
#F6F6F0
oklch(97.1% 0.008 106.5)
-
Step 100
100
#EBEBDD
oklch(93.6% 0.019 106.8)
-
Step 200
200
#DBDBC1
oklch(88.5% 0.035 107.1)
-
Step 300
300
#C4C495
oklch(80.9% 0.063 107.7)
-
Step 400
400
#A7A558
oklch(70.7% 0.1 107.4)
-
Step 500
500 (this color)
#9B9727
oklch(66% 0.128 107.4)
-
Step 600
600
#7B7700
oklch(55.5% 0.119 107.4)
-
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
#292804
oklch(27% 0.053 107.9)
#9B9727 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) | #A49110 | 0.019 |
| Deuteranopia (no green cones) | #A69530 | 0.020 |
| Tritanopia (no blue cones) | #A78D82 | 0.117 |
| Achromatopsia (no color) | #939393 | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9B9727
#9B9727
oklch(66% 0.128 107.4)
- #8E84DC
#8E84DC
oklch(65.9% 0.129 287.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 #9B9727, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea Soup #929901 ΔE 0.023
- Brown Yellow #B29705 ΔE 0.035
- Dark Mustard #A88905 ΔE 0.038
- Yellowy Brown #AE8B0C ΔE 0.039
- Dark Gold #B59410 ΔE 0.039
- Yellow Brown #B79400 ΔE 0.042
- Pea Soup Green #94A617 ΔE 0.045
- Avocado Green #87A922 ΔE 0.056
Use #9B9727 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.