#949221#949221
#949221 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.2% C 0.128 H 108.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #949221 |
|---|---|
| RGB | rgb(148, 146, 33) |
| HSL | hsl(59, 64%, 35%) |
| HSV | hsv(59, 78%, 58%) |
| CMYK | cmyk(0%, 1.4%, 77.7%, 42%) |
| CIE-LAB | lab(58.94, -12.50, 55.53) |
| CIE-LCH | lch(58.94, 56.92, 102.69°) |
| OKLab | oklab(64.18% -0.0405 0.1213) |
| OKLCH | oklch(64.18% 0.128 108.5) |
| XYZ | xyz(22.7670, 26.9642, 5.4439) |
| Luminance | 0.2696 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.43
Baby Poop Green
#8F9805
ΔE00 3.45
Baby Shit Green
#889717
ΔE00 4.39
Vomit
#A2A415
ΔE00 5.97
Puke
#A5A502
ΔE00 6.64
Olive
#808000
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#949221 #212394
analogous
#945921 #949221 #5C9421
triadic
#949221 #219492 #922194
tetradic
#949221 #219459 #212394 #94215C
square
#949221 #219459 #212394 #94215C
split-complementary
#949221 #215C94 #592194
monochromatic
#302F0B #626116 #949221 #C6C32C #D9D756
Accessibility & contrast
On white
3.29
#949221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#949221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #949221
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##949221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##949221 | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C03
Deuteranopia (green-blind)
#A0902A
Tritanopia (blue-blind)
#9F887D
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #949221; /* rgb */ color: rgb(148, 146, 33); /* oklch */ color: oklch(64.2% 0.128 108.5);
Tailwind
colors: {
custom: {
50: '#b7b166',
500: '#949221',
950: '#000000',
},
}SCSS
$custom: #949221; $custom-light: #b7b166; $custom-dark: #000000;
JSON
{
"hex": "#949221",
"rgb": {
"r": 148,
"g": 146,
"b": 33
},
"hsl": {
"h": 58.957,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.64176,
"c": 0.12792,
"h": 108.5
},
"luminance": 0.26963
}Semantic roles & 50–950 ramp
primary
#949221
secondary
#5455BD
accent
#44E741
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A