#97921C#97921C
#97921C is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.4% C 0.130 H 106.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #97921C |
|---|---|
| RGB | rgb(151, 146, 28) |
| HSL | hsl(58, 69%, 35%) |
| HSV | hsv(58, 81%, 59%) |
| CMYK | cmyk(0%, 3.3%, 81.5%, 40.8%) |
| CIE-LAB | lab(59.18, -11.34, 57.39) |
| CIE-LCH | lch(59.18, 58.50, 101.17°) |
| OKLab | oklab(64.42% -0.0378 0.1242) |
| OKLCH | oklch(64.42% 0.13 106.9) |
| XYZ | xyz(23.2520, 27.2218, 5.1279) |
| Luminance | 0.2722 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.72
Baby Poop Green
#8F9805
ΔE00 3.92
Baby Shit Green
#889717
ΔE00 5.22
Vomit
#A2A415
ΔE00 5.82
Puke
#A5A502
ΔE00 6.34
Baby Poo
#AB9004
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97921C #1C2197
analogous
#97541C #97921C #5E971C
triadic
#97921C #1C9792 #921C97
tetradic
#97921C #1C9754 #1C2197 #971C5E
square
#97921C #1C9754 #1C2197 #971C5E
split-complementary
#97921C #1C5E97 #541C97
monochromatic
#302E09 #636012 #97921C #CBC426 #DED94F
Accessibility & contrast
On white
3.26
#97921C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#97921C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97921C
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97921C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97921C | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A19027
Tritanopia (blue-blind)
#A3887D
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #97921c; /* rgb */ color: rgb(151, 146, 28); /* oklch */ color: oklch(64.4% 0.130 106.9);
Tailwind
colors: {
custom: {
50: '#b9b164',
500: '#97921c',
950: '#000000',
},
}SCSS
$custom: #97921c; $custom-light: #b9b164; $custom-dark: #000000;
JSON
{
"hex": "#97921c",
"rgb": {
"r": 151,
"g": 146,
"b": 28
},
"hsl": {
"h": 57.561,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.64422,
"c": 0.12987,
"h": 106.9
},
"luminance": 0.27221
}Semantic roles & 50–950 ramp
primary
#97921C
secondary
#4E53C1
accent
#43EC3C
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A