#97893F#97893F
#97893F is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.096 H 98.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #97893F |
|---|---|
| RGB | rgb(151, 137, 63) |
| HSL | hsl(50, 41%, 42%) |
| HSV | hsv(50, 58%, 59%) |
| CMYK | cmyk(0%, 9.3%, 58.3%, 40.8%) |
| CIE-LAB | lab(56.91, -4.48, 40.89) |
| CIE-LCH | lch(56.91, 41.14, 96.25°) |
| OKLab | oklab(62.7% -0.0146 0.0952) |
| OKLCH | oklch(62.7% 0.096 98.7) |
| XYZ | xyz(22.6062, 24.8304, 8.3036) |
| Luminance | 0.2483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.84
Drab
#828344
ΔE00 6.26
Dark Sand
#A88F59
ΔE00 6.64
Diarrhea
#9F8303
ΔE00 6.95
Baby Poop
#937C00
ΔE00 7.16
Dark Mustard
#A88905
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97893F #3F4D97
analogous
#975D3F #97893F #79973F
triadic
#97893F #3F9789 #893F97
tetradic
#97893F #3F975D #3F4D97 #973F79
square
#97893F #3F975D #3F4D97 #973F79
split-complementary
#97893F #3F7997 #5D3F97
monochromatic
#413B1B #6C622D #97893F #BAAB59 #CCC185
Accessibility & contrast
On white
3.52
#97893F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#97893F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97893F
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97893F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97893F | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958638
Deuteranopia (green-blind)
#998B42
Tritanopia (blue-blind)
#A28079
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #97893f; /* rgb */ color: rgb(151, 137, 63); /* oklch */ color: oklch(62.7% 0.096 98.7);
Tailwind
colors: {
custom: {
50: '#b8ab77',
500: '#97893f',
950: '#000000',
},
}SCSS
$custom: #97893f; $custom-light: #b8ab77; $custom-dark: #000000;
JSON
{
"hex": "#97893f",
"rgb": {
"r": 151,
"g": 137,
"b": 63
},
"hsl": {
"h": 50.455,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.62701,
"c": 0.09628,
"h": 98.7
},
"luminance": 0.2483
}Semantic roles & 50–950 ramp
primary
#97893F
secondary
#7C85B6
accent
#6AD157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B