#97891F#97891F
#97891F is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.120 H 101.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #97891F |
|---|---|
| RGB | rgb(151, 137, 31) |
| HSL | hsl(53, 66%, 36%) |
| HSV | hsv(53, 79%, 59%) |
| CMYK | cmyk(0%, 9.3%, 79.5%, 40.8%) |
| CIE-LAB | lab(56.65, -6.37, 54.21) |
| CIE-LCH | lch(56.65, 54.59, 96.71°) |
| OKLab | oklab(62.42% -0.0237 0.118) |
| OKLCH | oklch(62.42% 0.12 101.4) |
| XYZ | xyz(21.9565, 24.5706, 4.8821) |
| Luminance | 0.2457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.66
Baby Poop
#937C00
ΔE00 5.11
Baby Poo
#AB9004
ΔE00 5.47
Dark Mustard
#A88905
ΔE00 5.49
Baby Shit Brown
#AD900D
ΔE00 5.85
Olive
#808000
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97891F #1F2D97
analogous
#974D1F #97891F #69971F
triadic
#97891F #1F9789 #891F97
tetradic
#97891F #1F974D #1F2D97 #971F69
square
#97891F #1F974D #1F2D97 #971F69
split-complementary
#97891F #1F6997 #4D1F97
monochromatic
#312D0A #645B15 #97891F #CAB729 #DCCC54
Accessibility & contrast
On white
3.55
#97891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#97891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97891F
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97891F | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978504
Deuteranopia (green-blind)
#9B8A27
Tritanopia (blue-blind)
#A37F75
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #97891f; /* rgb */ color: rgb(151, 137, 31); /* oklch */ color: oklch(62.4% 0.120 101.4);
Tailwind
colors: {
custom: {
50: '#b9ab64',
500: '#97891f',
950: '#000000',
},
}SCSS
$custom: #97891f; $custom-light: #b9ab64; $custom-dark: #000000;
JSON
{
"hex": "#97891f",
"rgb": {
"r": 151,
"g": 137,
"b": 31
},
"hsl": {
"h": 53,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.62417,
"c": 0.12034,
"h": 101.4
},
"luminance": 0.2457
}Semantic roles & 50–950 ramp
primary
#97891F
secondary
#525FBF
accent
#53E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A