#97881B#97881B
#97881B is a light, vivid yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.122 H 100.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #97881B |
|---|---|
| RGB | rgb(151, 136, 27) |
| HSL | hsl(53, 70%, 35%) |
| HSV | hsv(53, 82%, 59%) |
| CMYK | cmyk(0%, 9.9%, 82.1%, 40.8%) |
| CIE-LAB | lab(56.35, -5.97, 55.22) |
| CIE-LCH | lch(56.35, 55.54, 96.17°) |
| OKLab | oklab(62.17% -0.0229 0.1193) |
| OKLCH | oklch(62.17% 0.122 100.9) |
| XYZ | xyz(21.7656, 24.2678, 4.5744) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.23
Baby Poop
#937C00
ΔE00 4.66
Dark Mustard
#A88905
ΔE00 5.20
Baby Poo
#AB9004
ΔE00 5.33
Baby Shit Brown
#AD900D
ΔE00 5.71
Olive
#808000
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97881B #1B2A97
analogous
#974A1B #97881B #68971B
triadic
#97881B #1B9788 #881B97
tetradic
#97881B #1B974A #1B2A97 #971B68
square
#97881B #1B974A #1B2A97 #971B68
split-complementary
#97881B #1B6897 #4A1B97
monochromatic
#2F2A08 #635912 #97881B #CBB724 #DFCE4D
Accessibility & contrast
On white
3.59
#97881B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#97881B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97881B
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97881B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97881B | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9A8A24
Tritanopia (blue-blind)
#A37D74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #97881b; /* rgb */ color: rgb(151, 136, 27); /* oklch */ color: oklch(62.2% 0.122 100.9);
Tailwind
colors: {
custom: {
50: '#baaa63',
500: '#97881b',
950: '#000000',
},
}SCSS
$custom: #97881b; $custom-light: #baaa63; $custom-dark: #000000;
JSON
{
"hex": "#97881b",
"rgb": {
"r": 151,
"g": 136,
"b": 27
},
"hsl": {
"h": 52.742,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.62173,
"c": 0.12152,
"h": 100.9
},
"luminance": 0.24267
}Semantic roles & 50–950 ramp
primary
#97881B
secondary
#4C5BC1
accent
#51EC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A