#97912E#97912E
#97912E is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.3% C 0.118 H 105.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #97912E |
|---|---|
| RGB | rgb(151, 145, 46) |
| HSL | hsl(57, 53%, 39%) |
| HSV | hsv(57, 70%, 59%) |
| CMYK | cmyk(0%, 4%, 69.5%, 40.8%) |
| CIE-LAB | lab(59.00, -9.98, 50.87) |
| CIE-LCH | lch(59.00, 51.84, 101.11°) |
| OKLab | oklab(64.31% -0.0323 0.1138) |
| OKLCH | oklch(64.31% 0.118 105.9) |
| XYZ | xyz(23.3819, 27.0282, 6.5695) |
| Luminance | 0.2703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.02
Baby Poop Green
#8F9805
ΔE00 5.06
Baby Shit Green
#889717
ΔE00 5.76
Vomit
#A2A415
ΔE00 6.86
Dark Khaki
#9B8F55
ΔE00 6.94
Olive
#808000
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97912E #2E3497
analogous
#975C2E #97912E #68972E
triadic
#97912E #2E9791 #912E97
tetradic
#97912E #2E975C #2E3497 #972E68
square
#97912E #2E975C #2E3497 #972E68
split-complementary
#97912E #2E6897 #5C2E97
monochromatic
#393711 #686420 #97912E #C4BD3E #D2CD6D
Accessibility & contrast
On white
3.28
#97912E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#97912E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97912E
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97912E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97912E | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8C1F
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#A2877D
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #97912e; /* rgb */ color: rgb(151, 145, 46); /* oklch */ color: oklch(64.3% 0.118 105.9);
Tailwind
colors: {
custom: {
50: '#b9b16d',
500: '#97912e',
950: '#000000',
},
}SCSS
$custom: #97912e; $custom-light: #b9b16d; $custom-dark: #000000;
JSON
{
"hex": "#97912e",
"rgb": {
"r": 151,
"g": 145,
"b": 46
},
"hsl": {
"h": 56.571,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.64312,
"c": 0.11828,
"h": 105.9
},
"luminance": 0.27027
}Semantic roles & 50–950 ramp
primary
#97912E
secondary
#676CBA
accent
#53DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A