#9D9E1F#9D9E1F
#9D9E1F is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.139 H 110.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9E1F |
|---|---|
| RGB | rgb(157, 158, 31) |
| HSL | hsl(60, 67%, 37%) |
| HSV | hsv(60, 80%, 62%) |
| CMYK | cmyk(0.6%, 0%, 80.4%, 38%) |
| CIE-LAB | lab(63.11, -14.85, 60.17) |
| CIE-LCH | lch(63.11, 61.97, 103.87°) |
| OKLab | oklab(67.69% -0.0477 0.1305) |
| OKLCH | oklch(67.69% 0.139 110.1) |
| XYZ | xyz(26.3798, 31.7215, 6.0293) |
| Luminance | 0.3172 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.09
Pea Soup
#929901
ΔE00 2.60
Puke
#A5A502
ΔE00 2.96
Baby Poop Green
#8F9805
ΔE00 3.17
Pea Soup Green
#94A617
ΔE00 4.31
Baby Shit Green
#889717
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9E1F #201F9E
analogous
#9E5F1F #9D9E1F #5E9E1F
triadic
#9D9E1F #1F9D9E #9E1F9D
tetradic
#9D9E1F #1F9E5F #201F9E #9E1F5E
square
#9D9E1F #1F9E5F #201F9E #9E1F5E
split-complementary
#9D9E1F #1F5E9E #5F1F9E
monochromatic
#37380B #6A6B15 #9D9E1F #D0D129 #DDDE59
Accessibility & contrast
On white
2.86
#9D9E1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#9D9E1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D9E1F
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9E1F | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2B
Tritanopia (blue-blind)
#A99387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9d9e1f; /* rgb */ color: rgb(157, 158, 31); /* oklch */ color: oklch(67.7% 0.139 110.1);
Tailwind
colors: {
custom: {
50: '#beba67',
500: '#9d9e1f',
950: '#000000',
},
}SCSS
$custom: #9d9e1f; $custom-light: #beba67; $custom-dark: #000000;
JSON
{
"hex": "#9d9e1f",
"rgb": {
"r": 157,
"g": 158,
"b": 31
},
"hsl": {
"h": 60.472,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.67691,
"c": 0.13894,
"h": 110.1
},
"luminance": 0.31721
}Semantic roles & 50–950 ramp
primary
#9D9E1F
secondary
#5756C2
accent
#3EEA3F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A