#9B9C2A#9B9C2A
#9B9C2A is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.1% C 0.131 H 110.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9C2A |
|---|---|
| RGB | rgb(155, 156, 42) |
| HSL | hsl(61, 58%, 39%) |
| HSV | hsv(61, 73%, 61%) |
| CMYK | cmyk(0.6%, 0%, 73.1%, 38.8%) |
| CIE-LAB | lab(62.43, -14.23, 55.90) |
| CIE-LCH | lch(62.43, 57.68, 104.29°) |
| OKLab | oklab(67.13% -0.0449 0.1235) |
| OKLCH | oklch(67.13% 0.131 110) |
| XYZ | xyz(25.8249, 30.9134, 6.7966) |
| Luminance | 0.3091 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.82
Baby Poop Green
#8F9805
ΔE00 3.14
Vomit
#A2A415
ΔE00 3.29
Puke
#A5A502
ΔE00 4.22
Baby Shit Green
#889717
ΔE00 4.31
Pea Soup Green
#94A617
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9C2A #2B2A9C
analogous
#9C642A #9B9C2A #629C2A
triadic
#9B9C2A #2A9B9C #9C2A9B
tetradic
#9B9C2A #2A9C64 #2B2A9C #9C2A62
square
#9B9C2A #2A9C64 #2B2A9C #9C2A62
split-complementary
#9B9C2A #2A629C #642A9C
monochromatic
#3B3C10 #6B6C1D #9B9C2A #C9CA39 #D6D76A
Accessibility & contrast
On white
2.92
#9B9C2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#9B9C2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B9C2A
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9C2A | 1.00 | 2.92 | 7.18 | 7.18 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#A69286
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9b9c2a; /* rgb */ color: rgb(155, 156, 42); /* oklch */ color: oklch(67.1% 0.131 110.0);
Tailwind
colors: {
custom: {
50: '#bcb96c',
500: '#9b9c2a',
950: '#000000',
},
}SCSS
$custom: #9b9c2a; $custom-light: #bcb96c; $custom-dark: #000000;
JSON
{
"hex": "#9b9c2a",
"rgb": {
"r": 155,
"g": 156,
"b": 42
},
"hsl": {
"h": 60.526,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.67127,
"c": 0.13144,
"h": 110
},
"luminance": 0.30913
}Semantic roles & 50–950 ramp
primary
#9B9C2A
secondary
#6565BD
accent
#47E148
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A