#9D931E#9D931E
#9D931E is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.2% C 0.129 H 104.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9D931E |
|---|---|
| RGB | rgb(157, 147, 30) |
| HSL | hsl(55, 68%, 37%) |
| HSV | hsv(55, 81%, 62%) |
| CMYK | cmyk(0%, 6.4%, 80.9%, 38.4%) |
| CIE-LAB | lab(60.01, -9.09, 57.73) |
| CIE-LCH | lch(60.01, 58.44, 98.94°) |
| OKLab | oklab(65.21% -0.0317 0.1251) |
| OKLCH | oklch(65.21% 0.129 104.2) |
| XYZ | xyz(24.5738, 28.1303, 5.3633) |
| Luminance | 0.2813 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.77
Baby Poop Green
#8F9805
ΔE00 5.14
Baby Poo
#AB9004
ΔE00 5.20
Baby Shit Brown
#AD900D
ΔE00 5.71
Brown Yellow
#B29705
ΔE00 5.73
Vomit
#A2A415
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D931E #1E289D
analogous
#9D541E #9D931E #689D1E
triadic
#9D931E #1E9D93 #931E9D
tetradic
#9D931E #1E9D54 #1E289D #9D1E68
square
#9D931E #1E9D54 #1E289D #9D1E68
split-complementary
#9D931E #1E689D #541E9D
monochromatic
#36330A #6A6314 #9D931E #D0C328 #DFD457
Accessibility & contrast
On white
3.17
#9D931E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#9D931E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D931E
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D931E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D931E | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#A9887E
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9d931e; /* rgb */ color: rgb(157, 147, 30); /* oklch */ color: oklch(65.2% 0.129 104.2);
Tailwind
colors: {
custom: {
50: '#beb265',
500: '#9d931e',
950: '#000000',
},
}SCSS
$custom: #9d931e; $custom-light: #beb265; $custom-dark: #000000;
JSON
{
"hex": "#9d931e",
"rgb": {
"r": 157,
"g": 147,
"b": 30
},
"hsl": {
"h": 55.276,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.65212,
"c": 0.12902,
"h": 104.2
},
"luminance": 0.28129
}Semantic roles & 50–950 ramp
primary
#9D931E
secondary
#545DC2
accent
#4BEB3D
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A