#949020#949020
#949020 is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.7% C 0.126 H 107.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #949020 |
|---|---|
| RGB | rgb(148, 144, 32) |
| HSL | hsl(58, 64%, 35%) |
| HSV | hsv(58, 78%, 58%) |
| CMYK | cmyk(0%, 2.7%, 78.4%, 42%) |
| CIE-LAB | lab(58.37, -11.48, 55.33) |
| CIE-LCH | lch(58.37, 56.51, 101.72°) |
| OKLab | oklab(63.72% -0.0377 0.1207) |
| OKLCH | oklch(63.72% 0.126 107.4) |
| XYZ | xyz(22.4476, 26.3475, 5.2694) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.10
Baby Poop Green
#8F9805
ΔE00 4.13
Baby Shit Green
#889717
ΔE00 5.05
Olive
#808000
ΔE00 6.20
Vomit
#A2A415
ΔE00 6.58
Puke
#A5A502
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#949020 #202494
analogous
#945620 #949020 #5E9420
triadic
#949020 #209490 #902094
tetradic
#949020 #209456 #202494 #94205E
square
#949020 #209456 #202494 #94205E
split-complementary
#949020 #205E94 #562094
monochromatic
#2F2E0A #625F15 #949020 #C6C12B #DAD554
Accessibility & contrast
On white
3.35
#949020 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#949020 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #949020
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##949020 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##949020 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A02
Deuteranopia (green-blind)
#9F8E29
Tritanopia (blue-blind)
#9F867B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #949020; /* rgb */ color: rgb(148, 144, 32); /* oklch */ color: oklch(63.7% 0.126 107.4);
Tailwind
colors: {
custom: {
50: '#b7b066',
500: '#949020',
950: '#000000',
},
}SCSS
$custom: #949020; $custom-light: #b7b066; $custom-dark: #000000;
JSON
{
"hex": "#949020",
"rgb": {
"r": 148,
"g": 144,
"b": 32
},
"hsl": {
"h": 57.931,
"s": 64.444,
"l": 35.294
},
"oklch": {
"l": 0.63715,
"c": 0.12648,
"h": 107.4
},
"luminance": 0.26347
}Semantic roles & 50–950 ramp
primary
#949020
secondary
#5256BE
accent
#46E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A