#9B9E1A#9B9E1A
#9B9E1A is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.142 H 111.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9E1A |
|---|---|
| RGB | rgb(155, 158, 26) |
| HSL | hsl(61, 72%, 36%) |
| HSV | hsv(61, 84%, 62%) |
| CMYK | cmyk(1.9%, 0%, 83.5%, 38%) |
| CIE-LAB | lab(62.93, -15.91, 61.30) |
| CIE-LCH | lch(62.93, 63.33, 104.55°) |
| OKLab | oklab(67.5% -0.0509 0.1321) |
| OKLCH | oklch(67.5% 0.142 111.1) |
| XYZ | xyz(25.9318, 31.4976, 5.6907) |
| Luminance | 0.3150 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.09
Pea Soup
#929901
ΔE00 2.17
Baby Poop Green
#8F9805
ΔE00 2.74
Puke
#A5A502
ΔE00 2.99
Pea Soup Green
#94A617
ΔE00 3.89
Baby Shit Green
#889717
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9E1A #1D1A9E
analogous
#9E5F1A #9B9E1A #599E1A
triadic
#9B9E1A #1A9B9E #9E1A9B
tetradic
#9B9E1A #1A9E5F #1D1A9E #9E1A59
square
#9B9E1A #1A9E5F #1D1A9E #9E1A59
split-complementary
#9B9E1A #1A599E #5F1A9E
monochromatic
#343509 #676911 #9B9E1A #CFD323 #DFE250
Accessibility & contrast
On white
2.88
#9B9E1A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#9B9E1A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B9E1A
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9E1A | 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: #9b9e1a; /* rgb */ color: rgb(155, 158, 26); /* oklch */ color: oklch(67.5% 0.142 111.1);
Tailwind
colors: {
custom: {
50: '#bcba65',
500: '#9b9e1a',
950: '#000000',
},
}SCSS
$custom: #9b9e1a; $custom-light: #bcba65; $custom-dark: #000000;
JSON
{
"hex": "#9b9e1a",
"rgb": {
"r": 155,
"g": 158,
"b": 26
},
"hsl": {
"h": 61.364,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.67495,
"c": 0.14158,
"h": 111.1
},
"luminance": 0.31497
}Semantic roles & 50–950 ramp
primary
#9B9E1A
secondary
#524FC5
accent
#39EE3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A