#9D9E2B#9D9E2B
#9D9E2B is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.132 H 110.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9E2B |
|---|---|
| RGB | rgb(157, 158, 43) |
| HSL | hsl(61, 57%, 39%) |
| HSV | hsv(61, 73%, 62%) |
| CMYK | cmyk(0.6%, 0%, 72.8%, 38%) |
| CIE-LAB | lab(63.17, -14.35, 56.30) |
| CIE-LCH | lch(63.17, 58.10, 104.30°) |
| OKLab | oklab(67.76% -0.0452 0.1245) |
| OKLCH | oklch(67.76% 0.132 110) |
| XYZ | xyz(26.5685, 31.7970, 7.0229) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.79
Pea Soup
#929901
ΔE00 3.12
Baby Poop Green
#8F9805
ΔE00 3.50
Puke
#A5A502
ΔE00 3.75
Pea Soup Green
#94A617
ΔE00 4.46
Baby Shit Green
#889717
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9E2B #2C2B9E
analogous
#9E662B #9D9E2B #649E2B
triadic
#9D9E2B #2B9D9E #9E2B9D
tetradic
#9D9E2B #2B9E66 #2C2B9E #9E2B64
square
#9D9E2B #2B9E66 #2C2B9E #9E2B64
split-complementary
#9D9E2B #2B649E #662B9E
monochromatic
#3D3E11 #6D6E1E #9D9E2B #C9CA3C #D6D76C
Accessibility & contrast
On white
2.85
#9D9E2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#9D9E2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D9E2B
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9E2B | 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)
#AB9715
Deuteranopia (green-blind)
#AC9B34
Tritanopia (blue-blind)
#A89488
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9d9e2b; /* rgb */ color: rgb(157, 158, 43); /* oklch */ color: oklch(67.8% 0.132 110.0);
Tailwind
colors: {
custom: {
50: '#bdba6d',
500: '#9d9e2b',
950: '#000000',
},
}SCSS
$custom: #9d9e2b; $custom-light: #bdba6d; $custom-dark: #000000;
JSON
{
"hex": "#9d9e2b",
"rgb": {
"r": 157,
"g": 158,
"b": 43
},
"hsl": {
"h": 60.522,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.67761,
"c": 0.13246,
"h": 110
},
"luminance": 0.31796
}Semantic roles & 50–950 ramp
primary
#9D9E2B
secondary
#6867BE
accent
#47E049
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A