#979121#979121
#979121 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.2% C 0.126 H 106.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #979121 |
|---|---|
| RGB | rgb(151, 145, 33) |
| HSL | hsl(57, 64%, 36%) |
| HSV | hsv(57, 78%, 59%) |
| CMYK | cmyk(0%, 4%, 78.1%, 40.8%) |
| CIE-LAB | lab(58.92, -10.61, 55.61) |
| CIE-LCH | lch(58.92, 56.61, 100.81°) |
| OKLab | oklab(64.22% -0.0354 0.1214) |
| OKLCH | oklch(64.22% 0.126 106.3) |
| XYZ | xyz(23.1634, 26.9408, 5.4185) |
| Luminance | 0.2694 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.25
Baby Poop Green
#8F9805
ΔE00 4.40
Baby Shit Green
#889717
ΔE00 5.53
Vomit
#A2A415
ΔE00 6.29
Baby Poo
#AB9004
ΔE00 6.56
Olive
#808000
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979121 #212797
analogous
#975621 #979121 #629721
triadic
#979121 #219791 #912197
tetradic
#979121 #219756 #212797 #972162
square
#979121 #219756 #212797 #972162
split-complementary
#979121 #216297 #562197
monochromatic
#33310B #656116 #979121 #C9C12C #DAD458
Accessibility & contrast
On white
3.29
#979121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#979121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979121
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979121 | 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)
#9E8B04
Deuteranopia (green-blind)
#A0902A
Tritanopia (blue-blind)
#A3877C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #979121; /* rgb */ color: rgb(151, 145, 33); /* oklch */ color: oklch(64.2% 0.126 106.3);
Tailwind
colors: {
custom: {
50: '#b9b066',
500: '#979121',
950: '#000000',
},
}SCSS
$custom: #979121; $custom-light: #b9b066; $custom-dark: #000000;
JSON
{
"hex": "#979121",
"rgb": {
"r": 151,
"g": 145,
"b": 33
},
"hsl": {
"h": 56.949,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.64222,
"c": 0.12643,
"h": 106.3
},
"luminance": 0.2694
}Semantic roles & 50–950 ramp
primary
#979121
secondary
#555BBE
accent
#49E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A