#949220#949220
#949220 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 | #949220 |
|---|---|
| RGB | rgb(148, 146, 32) |
| HSL | hsl(59, 64%, 35%) |
| HSV | hsv(59, 78%, 58%) |
| CMYK | cmyk(0%, 1.4%, 78.4%, 42%) |
| CIE-LAB | lab(58.94, -12.54, 55.85) |
| CIE-LCH | lch(58.94, 57.24, 102.66°) |
| OKLab | oklab(64.17% -0.0407 0.1218) |
| OKLCH | oklch(64.17% 0.128 108.5) |
| XYZ | xyz(22.7532, 26.9587, 5.3712) |
| Luminance | 0.2696 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.38
Baby Poop Green
#8F9805
ΔE00 3.41
Baby Shit Green
#889717
ΔE00 4.39
Vomit
#A2A415
ΔE00 5.94
Puke
#A5A502
ΔE00 6.60
Olive
#808000
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#949220 #202294
analogous
#945820 #949220 #5C9420
triadic
#949220 #209492 #922094
tetradic
#949220 #209458 #202294 #94205C
square
#949220 #209458 #202294 #94205C
split-complementary
#949220 #205C94 #582094
monochromatic
#2F2F0A #626015 #949220 #C6C42B #DAD854
Accessibility & contrast
On white
3.29
#949220 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#949220 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #949220
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##949220 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##949220 | 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)
#9F8C01
Deuteranopia (green-blind)
#A0902A
Tritanopia (blue-blind)
#9F887D
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #949220; /* rgb */ color: rgb(148, 146, 32); /* oklch */ color: oklch(64.2% 0.128 108.5);
Tailwind
colors: {
custom: {
50: '#b7b166',
500: '#949220',
950: '#000000',
},
}SCSS
$custom: #949220; $custom-light: #b7b166; $custom-dark: #000000;
JSON
{
"hex": "#949220",
"rgb": {
"r": 148,
"g": 146,
"b": 32
},
"hsl": {
"h": 58.966,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.6417,
"c": 0.12845,
"h": 108.5
},
"luminance": 0.26958
}Semantic roles & 50–950 ramp
primary
#949220
secondary
#5254BE
accent
#43E740
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A