#9D9F1F#9D9F1F
#9D9F1F is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.140 H 110.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9F1F |
|---|---|
| RGB | rgb(157, 159, 31) |
| HSL | hsl(61, 67%, 37%) |
| HSV | hsv(61, 81%, 62%) |
| CMYK | cmyk(1.3%, 0%, 80.5%, 37.6%) |
| CIE-LAB | lab(63.40, -15.37, 60.42) |
| CIE-LCH | lch(63.40, 62.34, 104.27°) |
| OKLab | oklab(67.92% -0.0491 0.131) |
| OKLCH | oklch(67.92% 0.14 110.6) |
| XYZ | xyz(26.5511, 32.0641, 6.0864) |
| Luminance | 0.3206 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.85
Pea Soup
#929901
ΔE00 2.66
Puke
#A5A502
ΔE00 2.80
Baby Poop Green
#8F9805
ΔE00 3.22
Pea Soup Green
#94A617
ΔE00 3.98
Baby Shit Green
#889717
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9F1F #211F9F
analogous
#9F611F #9D9F1F #5D9F1F
triadic
#9D9F1F #1F9D9F #9F1F9D
tetradic
#9D9F1F #1F9F61 #211F9F #9F1F5D
square
#9D9F1F #1F9F61 #211F9F #9F1F5D
split-complementary
#9D9F1F #1F5D9F #611F9F
monochromatic
#38390B #6A6C15 #9D9F1F #D0D229 #DDDF5A
Accessibility & contrast
On white
2.83
#9D9F1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#9D9F1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D9F1F
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9F1F | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#A99488
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9d9f1f; /* rgb */ color: rgb(157, 159, 31); /* oklch */ color: oklch(67.9% 0.140 110.6);
Tailwind
colors: {
custom: {
50: '#bebb68',
500: '#9d9f1f',
950: '#000000',
},
}SCSS
$custom: #9d9f1f; $custom-light: #bebb68; $custom-dark: #000000;
JSON
{
"hex": "#9d9f1f",
"rgb": {
"r": 157,
"g": 159,
"b": 31
},
"hsl": {
"h": 60.938,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.67918,
"c": 0.13994,
"h": 110.6
},
"luminance": 0.32063
}Semantic roles & 50–950 ramp
primary
#9D9F1F
secondary
#5957C3
accent
#3EEA40
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A