#9F9E1E#9F9E1E
#9F9E1E is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.9% C 0.139 H 109.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9E1E |
|---|---|
| RGB | rgb(159, 158, 30) |
| HSL | hsl(60, 68%, 37%) |
| HSV | hsv(60, 81%, 62%) |
| CMYK | cmyk(0%, 0.6%, 81.1%, 37.6%) |
| CIE-LAB | lab(63.28, -14.00, 60.66) |
| CIE-LCH | lch(63.28, 62.26, 102.99°) |
| OKLab | oklab(67.86% -0.0455 0.1313) |
| OKLCH | oklch(67.86% 0.139 109.1) |
| XYZ | xyz(26.7603, 31.9192, 5.9794) |
| Luminance | 0.3192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.03
Puke
#A5A502
ΔE00 2.74
Pea Soup
#929901
ΔE00 2.96
Baby Poop Green
#8F9805
ΔE00 3.58
Pea Soup Green
#94A617
ΔE00 4.77
Baby Shit Green
#889717
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9E1E #1E1F9F
analogous
#9F5E1E #9F9E1E #609F1E
triadic
#9F9E1E #1E9F9E #9E1E9F
tetradic
#9F9E1E #1E9F5E #1E1F9F #9F1E60
square
#9F9E1E #1E9F5E #1E1F9F #9F1E60
split-complementary
#9F9E1E #1E609F #5E1E9F
monochromatic
#38380B #6C6B14 #9F9E1E #D2D128 #DFDE58
Accessibility & contrast
On white
2.84
#9F9E1E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#9F9E1E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9E1E
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9E1E | 1.00 | 2.84 | 7.38 | 7.38 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B2A
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9f9e1e; /* rgb */ color: rgb(159, 158, 30); /* oklch */ color: oklch(67.9% 0.139 109.1);
Tailwind
colors: {
custom: {
50: '#bfba67',
500: '#9f9e1e',
950: '#000000',
},
}SCSS
$custom: #9f9e1e; $custom-light: #bfba67; $custom-dark: #000000;
JSON
{
"hex": "#9f9e1e",
"rgb": {
"r": 159,
"g": 158,
"b": 30
},
"hsl": {
"h": 59.535,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.67862,
"c": 0.13894,
"h": 109.1
},
"luminance": 0.31918
}Semantic roles & 50–950 ramp
primary
#9F9E1E
secondary
#5656C3
accent
#3EEB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A