#97811C#97811C
#97811C is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.6% C 0.116 H 95.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #97811C |
|---|---|
| RGB | rgb(151, 129, 28) |
| HSL | hsl(49, 69%, 35%) |
| HSV | hsv(49, 81%, 59%) |
| CMYK | cmyk(0%, 14.6%, 81.5%, 40.8%) |
| CIE-LAB | lab(54.41, -2.08, 53.19) |
| CIE-LCH | lch(54.41, 53.24, 92.24°) |
| OKLab | oklab(60.63% -0.0118 0.1152) |
| OKLCH | oklch(60.63% 0.116 95.9) |
| XYZ | xyz(20.8235, 22.3648, 4.3184) |
| Luminance | 0.2236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.29
Diarrhea
#9F8303
ΔE00 2.72
Puke Brown
#947706
ΔE00 4.00
Yellowish Brown
#9B7A01
ΔE00 4.00
Hazel
#8E7618
ΔE00 4.17
Dark Mustard
#A88905
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97811C #1C3297
analogous
#97431C #97811C #70971C
triadic
#97811C #1C9781 #811C97
tetradic
#97811C #1C9743 #1C3297 #971C70
square
#97811C #1C9743 #1C3297 #971C70
split-complementary
#97811C #1C7097 #431C97
monochromatic
#302909 #635512 #97811C #CBAD26 #DEC54F
Accessibility & contrast
On white
3.84
#97811C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#97811C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97811C
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97811C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97811C | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E01
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#A4766E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #97811c; /* rgb */ color: rgb(151, 129, 28); /* oklch */ color: oklch(60.6% 0.116 95.9);
Tailwind
colors: {
custom: {
50: '#baa562',
500: '#97811c',
950: '#000000',
},
}SCSS
$custom: #97811c; $custom-light: #baa562; $custom-dark: #000000;
JSON
{
"hex": "#97811c",
"rgb": {
"r": 151,
"g": 129,
"b": 28
},
"hsl": {
"h": 49.268,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.60634,
"c": 0.11578,
"h": 95.9
},
"luminance": 0.22364
}Semantic roles & 50–950 ramp
primary
#97811C
secondary
#4E62C1
accent
#5CEC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A