#9F9E1F#9F9E1F
#9F9E1F 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 | #9F9E1F |
|---|---|
| RGB | rgb(159, 158, 31) |
| HSL | hsl(60, 67%, 37%) |
| HSV | hsv(60, 81%, 62%) |
| CMYK | cmyk(0%, 0.6%, 80.5%, 37.6%) |
| CIE-LAB | lab(63.28, -13.96, 60.38) |
| CIE-LCH | lch(63.28, 61.98, 103.02°) |
| OKLab | oklab(67.87% -0.0453 0.1309) |
| OKLCH | oklch(67.87% 0.139 109.1) |
| XYZ | xyz(26.7733, 31.9244, 6.0478) |
| Luminance | 0.3192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.06
Puke
#A5A502
ΔE00 2.79
Pea Soup
#929901
ΔE00 2.98
Baby Poop Green
#8F9805
ΔE00 3.59
Pea Soup Green
#94A617
ΔE00 4.77
Baby Shit Green
#889717
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9E1F #1F209F
analogous
#9F5E1F #9F9E1F #609F1F
triadic
#9F9E1F #1F9F9E #9E1F9F
tetradic
#9F9E1F #1F9F5E #1F209F #9F1F60
square
#9F9E1F #1F9F5E #1F209F #9F1F60
split-complementary
#9F9E1F #1F609F #5E1F9F
monochromatic
#39380B #6C6B15 #9F9E1F #D2D129 #DFDE5A
Accessibility & contrast
On white
2.84
#9F9E1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#9F9E1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9E1F
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9E1F | 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)
#AB9700
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9f9e1f; /* rgb */ color: rgb(159, 158, 31); /* oklch */ color: oklch(67.9% 0.139 109.1);
Tailwind
colors: {
custom: {
50: '#bfba67',
500: '#9f9e1f',
950: '#000000',
},
}SCSS
$custom: #9f9e1f; $custom-light: #bfba67; $custom-dark: #000000;
JSON
{
"hex": "#9f9e1f",
"rgb": {
"r": 159,
"g": 158,
"b": 31
},
"hsl": {
"h": 59.531,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.67867,
"c": 0.1385,
"h": 109.1
},
"luminance": 0.31924
}Semantic roles & 50–950 ramp
primary
#9F9E1F
secondary
#5758C3
accent
#3FEA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A