#979223#979223
#979223 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.5% C 0.126 H 106.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #979223 |
|---|---|
| RGB | rgb(151, 146, 35) |
| HSL | hsl(57, 62%, 36%) |
| HSV | hsv(57, 77%, 59%) |
| CMYK | cmyk(0%, 3.3%, 76.8%, 40.8%) |
| CIE-LAB | lab(59.21, -11.07, 55.21) |
| CIE-LCH | lch(59.21, 56.30, 101.33°) |
| OKLab | oklab(64.46% -0.0365 0.1209) |
| OKLCH | oklch(64.46% 0.126 106.8) |
| XYZ | xyz(23.3457, 27.2593, 5.6216) |
| Luminance | 0.2726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.98
Baby Poop Green
#8F9805
ΔE00 4.12
Baby Shit Green
#889717
ΔE00 5.21
Vomit
#A2A415
ΔE00 6.01
Puke
#A5A502
ΔE00 6.59
Baby Poo
#AB9004
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#979223 #232897
analogous
#975823 #979223 #629723
triadic
#979223 #239792 #922397
tetradic
#979223 #239758 #232897 #972362
square
#979223 #239758 #232897 #972362
split-complementary
#979223 #236297 #582397
monochromatic
#34320C #656217 #979223 #C9C22F #D9D45B
Accessibility & contrast
On white
3.26
#979223 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#979223 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #979223
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##979223 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##979223 | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C09
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#A2887D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #979223; /* rgb */ color: rgb(151, 146, 35); /* oklch */ color: oklch(64.5% 0.126 106.8);
Tailwind
colors: {
custom: {
50: '#b9b167',
500: '#979223',
950: '#000000',
},
}SCSS
$custom: #979223; $custom-light: #b9b167; $custom-dark: #000000;
JSON
{
"hex": "#979223",
"rgb": {
"r": 151,
"g": 146,
"b": 35
},
"hsl": {
"h": 57.414,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.6446,
"c": 0.12629,
"h": 106.8
},
"luminance": 0.27258
}Semantic roles & 50–950 ramp
primary
#979223
secondary
#585DBE
accent
#49E542
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A