#97942E#97942E
#97942E is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.0% C 0.121 H 107.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #97942E |
|---|---|
| RGB | rgb(151, 148, 46) |
| HSL | hsl(58, 53%, 39%) |
| HSV | hsv(58, 70%, 59%) |
| CMYK | cmyk(0%, 2%, 69.5%, 40.8%) |
| CIE-LAB | lab(59.85, -11.59, 51.72) |
| CIE-LCH | lch(59.85, 53.00, 102.63°) |
| OKLab | oklab(64.99% -0.0368 0.1156) |
| OKLCH | oklch(64.99% 0.121 107.7) |
| XYZ | xyz(23.8464, 27.9571, 6.7244) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.08
Baby Poop Green
#8F9805
ΔE00 4.12
Baby Shit Green
#889717
ΔE00 4.83
Vomit
#A2A415
ΔE00 5.89
Puke
#A5A502
ΔE00 6.64
Pea Soup Green
#94A617
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97942E #2E3197
analogous
#975F2E #97942E #65972E
triadic
#97942E #2E9794 #942E97
tetradic
#97942E #2E975F #2E3197 #972E65
square
#97942E #2E975F #2E3197 #972E65
split-complementary
#97942E #2E6597 #5F2E97
monochromatic
#393811 #686620 #97942E #C4C03E #D2D06D
Accessibility & contrast
On white
3.19
#97942E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#97942E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97942E
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97942E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97942E | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08E1E
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#A28A80
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #97942e; /* rgb */ color: rgb(151, 148, 46); /* oklch */ color: oklch(65.0% 0.121 107.7);
Tailwind
colors: {
custom: {
50: '#b9b36d',
500: '#97942e',
950: '#000000',
},
}SCSS
$custom: #97942e; $custom-light: #b9b36d; $custom-dark: #000000;
JSON
{
"hex": "#97942e",
"rgb": {
"r": 151,
"g": 148,
"b": 46
},
"hsl": {
"h": 58.286,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.6499,
"c": 0.12131,
"h": 107.7
},
"luminance": 0.27956
}Semantic roles & 50–950 ramp
primary
#97942E
secondary
#6769BA
accent
#4FDD4B
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#121107
muted
#81807A