#949021#949021
#949021 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.7% C 0.126 H 107.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #949021 |
|---|---|
| RGB | rgb(148, 144, 33) |
| HSL | hsl(58, 64%, 35%) |
| HSV | hsv(58, 78%, 58%) |
| CMYK | cmyk(0%, 2.7%, 77.7%, 42%) |
| CIE-LAB | lab(58.37, -11.44, 55.01) |
| CIE-LCH | lch(58.37, 56.18, 101.74°) |
| OKLab | oklab(63.72% -0.0375 0.1202) |
| OKLCH | oklch(63.72% 0.126 107.3) |
| XYZ | xyz(22.4614, 26.3530, 5.3420) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.14
Baby Poop Green
#8F9805
ΔE00 4.16
Baby Shit Green
#889717
ΔE00 5.06
Olive
#808000
ΔE00 6.21
Vomit
#A2A415
ΔE00 6.61
Puke
#A5A502
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#949021 #212594
analogous
#945621 #949021 #5E9421
triadic
#949021 #219490 #902194
tetradic
#949021 #219456 #212594 #94215E
square
#949021 #219456 #212594 #94215E
split-complementary
#949021 #215E94 #562194
monochromatic
#302F0B #625F16 #949021 #C6C12C #D9D556
Accessibility & contrast
On white
3.35
#949021 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#949021 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #949021
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##949021 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##949021 | 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)
#9D8A05
Deuteranopia (green-blind)
#9F8E2A
Tritanopia (blue-blind)
#9F867B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #949021; /* rgb */ color: rgb(148, 144, 33); /* oklch */ color: oklch(63.7% 0.126 107.3);
Tailwind
colors: {
custom: {
50: '#b7b066',
500: '#949021',
950: '#000000',
},
}SCSS
$custom: #949021; $custom-light: #b7b066; $custom-dark: #000000;
JSON
{
"hex": "#949021",
"rgb": {
"r": 148,
"g": 144,
"b": 33
},
"hsl": {
"h": 57.913,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.63721,
"c": 0.12594,
"h": 107.3
},
"luminance": 0.26352
}Semantic roles & 50–950 ramp
primary
#949021
secondary
#5457BD
accent
#47E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A