#959221#959221
#959221 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.128 H 107.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #959221 |
|---|---|
| RGB | rgb(149, 146, 33) |
| HSL | hsl(58, 64%, 36%) |
| HSV | hsv(58, 78%, 58%) |
| CMYK | cmyk(0%, 2%, 77.9%, 41.6%) |
| CIE-LAB | lab(59.03, -12.05, 55.64) |
| CIE-LCH | lch(59.03, 56.93, 102.22°) |
| OKLab | oklab(64.27% -0.0393 0.1215) |
| OKLCH | oklch(64.27% 0.128 107.9) |
| XYZ | xyz(22.9487, 27.0579, 5.4524) |
| Luminance | 0.2706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.56
Baby Poop Green
#8F9805
ΔE00 3.63
Baby Shit Green
#889717
ΔE00 4.66
Vomit
#A2A415
ΔE00 5.95
Puke
#A5A502
ΔE00 6.58
Olive
#808000
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#959221 #212495
analogous
#955821 #959221 #5E9521
triadic
#959221 #219592 #922195
tetradic
#959221 #219558 #212495 #95215E
square
#959221 #219558 #212495 #95215E
split-complementary
#959221 #215E95 #582195
monochromatic
#31300B #636116 #959221 #C7C32C #DAD657
Accessibility & contrast
On white
3.28
#959221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#959221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #959221
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##959221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##959221 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C03
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#A0887D
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #959221; /* rgb */ color: rgb(149, 146, 33); /* oklch */ color: oklch(64.3% 0.128 107.9);
Tailwind
colors: {
custom: {
50: '#b8b166',
500: '#959221',
950: '#000000',
},
}SCSS
$custom: #959221; $custom-light: #b8b166; $custom-dark: #000000;
JSON
{
"hex": "#959221",
"rgb": {
"r": 149,
"g": 146,
"b": 33
},
"hsl": {
"h": 58.448,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.64266,
"c": 0.12772,
"h": 107.9
},
"luminance": 0.27057
}Semantic roles & 50–950 ramp
primary
#959221
secondary
#5457BE
accent
#45E741
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A