#9E9E1F#9E9E1F
#9E9E1F is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.139 H 109.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9E1F |
|---|---|
| RGB | rgb(158, 158, 31) |
| HSL | hsl(60, 67%, 37%) |
| HSV | hsv(60, 80%, 62%) |
| CMYK | cmyk(0%, 0%, 80.4%, 38%) |
| CIE-LAB | lab(63.20, -14.41, 60.27) |
| CIE-LCH | lch(63.20, 61.97, 103.44°) |
| OKLab | oklab(67.78% -0.0465 0.1307) |
| OKLCH | oklch(67.78% 0.139 109.6) |
| XYZ | xyz(26.5758, 31.8226, 6.0385) |
| Luminance | 0.3182 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.06
Pea Soup
#929901
ΔE00 2.78
Puke
#A5A502
ΔE00 2.86
Baby Poop Green
#8F9805
ΔE00 3.37
Pea Soup Green
#94A617
ΔE00 4.54
Baby Shit Green
#889717
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9E1F #1F1F9E
analogous
#9E5F1F #9E9E1F #5F9E1F
triadic
#9E9E1F #1F9E9E #9E1F9E
tetradic
#9E9E1F #1F9E5F #1F1F9E #9E1F5F
square
#9E9E1F #1F9E5F #1F1F9E #9E1F5F
split-complementary
#9E9E1F #1F5F9E #5F1F9E
monochromatic
#38380B #6B6B15 #9E9E1F #D1D129 #DEDE59
Accessibility & contrast
On white
2.85
#9E9E1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#9E9E1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9E1F
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9E1F | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#AA9387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9e9e1f; /* rgb */ color: rgb(158, 158, 31); /* oklch */ color: oklch(67.8% 0.139 109.6);
Tailwind
colors: {
custom: {
50: '#beba67',
500: '#9e9e1f',
950: '#000000',
},
}SCSS
$custom: #9e9e1f; $custom-light: #beba67; $custom-dark: #000000;
JSON
{
"hex": "#9e9e1f",
"rgb": {
"r": 158,
"g": 158,
"b": 31
},
"hsl": {
"h": 60,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.67779,
"c": 0.13871,
"h": 109.6
},
"luminance": 0.31822
}Semantic roles & 50–950 ramp
primary
#9E9E1F
secondary
#5656C2
accent
#3EEA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A