#9B9E1B#9B9E1B
#9B9E1B is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.141 H 111.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9E1B |
|---|---|
| RGB | rgb(155, 158, 27) |
| HSL | hsl(61, 71%, 36%) |
| HSV | hsv(61, 83%, 62%) |
| CMYK | cmyk(1.9%, 0%, 82.9%, 38%) |
| CIE-LAB | lab(62.93, -15.87, 61.05) |
| CIE-LCH | lch(62.93, 63.08, 104.58°) |
| OKLab | oklab(67.5% -0.0507 0.1317) |
| OKLCH | oklch(67.5% 0.141 111.1) |
| XYZ | xyz(25.9432, 31.5021, 5.7506) |
| Luminance | 0.3150 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.12
Pea Soup
#929901
ΔE00 2.19
Baby Poop Green
#8F9805
ΔE00 2.75
Puke
#A5A502
ΔE00 3.03
Pea Soup Green
#94A617
ΔE00 3.89
Baby Shit Green
#889717
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9E1B #1E1B9E
analogous
#9E601B #9B9E1B #5A9E1B
triadic
#9B9E1B #1B9B9E #9E1B9B
tetradic
#9B9E1B #1B9E60 #1E1B9E #9E1B5A
square
#9B9E1B #1B9E60 #1E1B9E #9E1B5A
split-complementary
#9B9E1B #1B5A9E #601B9E
monochromatic
#343509 #686A12 #9B9E1B #CED224 #DEE152
Accessibility & contrast
On white
2.88
#9B9E1B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#9B9E1B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B9E1B
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9E1B | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A28
Tritanopia (blue-blind)
#A69487
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9b9e1b; /* rgb */ color: rgb(155, 158, 27); /* oklch */ color: oklch(67.5% 0.141 111.1);
Tailwind
colors: {
custom: {
50: '#bcba66',
500: '#9b9e1b',
950: '#000000',
},
}SCSS
$custom: #9b9e1b; $custom-light: #bcba66; $custom-dark: #000000;
JSON
{
"hex": "#9b9e1b",
"rgb": {
"r": 155,
"g": 158,
"b": 27
},
"hsl": {
"h": 61.374,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.67499,
"c": 0.14117,
"h": 111.1
},
"luminance": 0.31501
}Semantic roles & 50–950 ramp
primary
#9B9E1B
secondary
#5351C4
accent
#3AEE3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A