#9E9B2F#9E9B2F
#9E9B2F is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.127 H 107.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9B2F |
|---|---|
| RGB | rgb(158, 155, 47) |
| HSL | hsl(58, 54%, 40%) |
| HSV | hsv(58, 70%, 62%) |
| CMYK | cmyk(0%, 1.9%, 70.3%, 38%) |
| CIE-LAB | lab(62.44, -12.13, 54.10) |
| CIE-LCH | lch(62.44, 55.45, 102.64°) |
| OKLab | oklab(67.2% -0.0387 0.1206) |
| OKLCH | oklch(67.2% 0.127 107.8) |
| XYZ | xyz(26.3360, 30.9179, 7.2692) |
| Luminance | 0.3092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.73
Vomit
#A2A415
ΔE00 3.84
Baby Poop Green
#8F9805
ΔE00 4.08
Puke
#A5A502
ΔE00 4.61
Baby Shit Green
#889717
ΔE00 5.25
Pea Soup Green
#94A617
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9B2F #2F329E
analogous
#9E632F #9E9B2F #6A9E2F
triadic
#9E9B2F #2F9E9B #9B2F9E
tetradic
#9E9B2F #2F9E63 #2F329E #9E2F6A
square
#9E9B2F #2F9E63 #2F329E #9E2F6A
split-complementary
#9E9B2F #2F6A9E #632F9E
monochromatic
#403E13 #6F6D21 #9E9B2F #C7C443 #D5D272
Accessibility & contrast
On white
2.92
#9E9B2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#9E9B2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9B2F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9B2F | 1.00 | 2.92 | 7.18 | 7.18 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8951E
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#A99186
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9e9b2f; /* rgb */ color: rgb(158, 155, 47); /* oklch */ color: oklch(67.2% 0.127 107.8);
Tailwind
colors: {
custom: {
50: '#beb86f',
500: '#9e9b2f',
950: '#000000',
},
}SCSS
$custom: #9e9b2f; $custom-light: #beb86f; $custom-dark: #000000;
JSON
{
"hex": "#9e9b2f",
"rgb": {
"r": 158,
"g": 155,
"b": 47
},
"hsl": {
"h": 58.378,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.67202,
"c": 0.1266,
"h": 107.8
},
"luminance": 0.30917
}Semantic roles & 50–950 ramp
primary
#9E9B2F
secondary
#6C6EBD
accent
#4EDE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B