#97812C#97812C
#97812C is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.7% C 0.106 H 94.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #97812C |
|---|---|
| RGB | rgb(151, 129, 44) |
| HSL | hsl(48, 55%, 38%) |
| HSV | hsv(48, 71%, 59%) |
| CMYK | cmyk(0%, 14.6%, 70.9%, 40.8%) |
| CIE-LAB | lab(54.51, -1.34, 47.16) |
| CIE-LCH | lch(54.51, 47.18, 91.63°) |
| OKLab | oklab(60.75% -0.008 0.1056) |
| OKLCH | oklch(60.75% 0.106 94.3) |
| XYZ | xyz(21.0684, 22.4628, 5.6084) |
| Luminance | 0.2246 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.75
Diarrhea
#9F8303
ΔE00 4.11
Hazel
#8E7618
ΔE00 4.24
Puke Brown
#947706
ΔE00 4.58
Yellowish Brown
#9B7A01
ΔE00 4.70
Poo
#8F7303
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97812C #2C4297
analogous
#974C2C #97812C #77972C
triadic
#97812C #2C9781 #812C97
tetradic
#97812C #2C974C #2C4297 #972C77
square
#97812C #2C974C #2C4297 #972C77
split-complementary
#97812C #2C7797 #4C2C97
monochromatic
#383010 #68591E #97812C #C6A93A #D4BE6A
Accessibility & contrast
On white
3.82
#97812C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#97812C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97812C
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97812C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97812C | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F20
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#A37770
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #97812c; /* rgb */ color: rgb(151, 129, 44); /* oklch */ color: oklch(60.7% 0.106 94.3);
Tailwind
colors: {
custom: {
50: '#b9a56a',
500: '#97812c',
950: '#000000',
},
}SCSS
$custom: #97812c; $custom-light: #b9a56a; $custom-dark: #000000;
JSON
{
"hex": "#97812c",
"rgb": {
"r": 151,
"g": 129,
"b": 44
},
"hsl": {
"h": 47.664,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.60748,
"c": 0.10589,
"h": 94.3
},
"luminance": 0.22462
}Semantic roles & 50–950 ramp
primary
#97812C
secondary
#6576BA
accent
#68DE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A