#9D901E#9D901E
#9D901E is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.5% C 0.126 H 102.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9D901E |
|---|---|
| RGB | rgb(157, 144, 30) |
| HSL | hsl(54, 68%, 37%) |
| HSV | hsv(54, 81%, 62%) |
| CMYK | cmyk(0%, 8.3%, 80.9%, 38.4%) |
| CIE-LAB | lab(59.17, -7.47, 56.99) |
| CIE-LCH | lch(59.17, 57.48, 97.47°) |
| OKLab | oklab(64.55% -0.0272 0.1235) |
| OKLCH | oklch(64.55% 0.126 102.4) |
| XYZ | xyz(24.1134, 27.2094, 5.2098) |
| Luminance | 0.2721 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.50
Baby Shit Brown
#AD900D
ΔE00 4.98
Brown Yellow
#B29705
ΔE00 5.48
Dark Mustard
#A88905
ΔE00 5.65
Diarrhea
#9F8303
ΔE00 5.84
Pea Soup
#929901
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D901E #1E2B9D
analogous
#9D511E #9D901E #6B9D1E
triadic
#9D901E #1E9D90 #901E9D
tetradic
#9D901E #1E9D51 #1E2B9D #9D1E6B
square
#9D901E #1E9D51 #1E2B9D #9D1E6B
split-complementary
#9D901E #1E6B9D #511E9D
monochromatic
#36320A #6A6114 #9D901E #D0BF28 #DFD157
Accessibility & contrast
On white
3.26
#9D901E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#9D901E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D901E
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D901E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D901E | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A29127
Tritanopia (blue-blind)
#AA857B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9d901e; /* rgb */ color: rgb(157, 144, 30); /* oklch */ color: oklch(64.5% 0.126 102.4);
Tailwind
colors: {
custom: {
50: '#beb065',
500: '#9d901e',
950: '#000000',
},
}SCSS
$custom: #9d901e; $custom-light: #beb065; $custom-dark: #000000;
JSON
{
"hex": "#9d901e",
"rgb": {
"r": 157,
"g": 144,
"b": 30
},
"hsl": {
"h": 53.858,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.64545,
"c": 0.12643,
"h": 102.4
},
"luminance": 0.27208
}Semantic roles & 50–950 ramp
primary
#9D901E
secondary
#5460C2
accent
#4FEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A