#97803B#97803B
#97803B is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.7% C 0.093 H 91.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #97803B |
|---|---|
| RGB | rgb(151, 128, 59) |
| HSL | hsl(45, 44%, 41%) |
| HSV | hsv(45, 61%, 59%) |
| CMYK | cmyk(0%, 15.2%, 60.9%, 40.8%) |
| CIE-LAB | lab(54.38, 0.21, 39.99) |
| CIE-LCH | lch(54.38, 40.00, 89.70°) |
| OKLab | oklab(60.69% -0.0016 0.0927) |
| OKLCH | oklch(60.69% 0.093 91) |
| XYZ | xyz(21.2720, 22.3345, 7.3274) |
| Luminance | 0.2233 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 5.24
Puke Brown
#947706
ΔE00 5.95
Baby Poop
#937C00
ΔE00 6.02
Yellowish Brown
#9B7A01
ΔE00 6.15
Dark Khaki
#9B8F55
ΔE00 6.30
Diarrhea
#9F8303
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97803B #3B5297
analogous
#97523B #97803B #80973B
triadic
#97803B #3B9780 #803B97
tetradic
#97803B #3B9752 #3B5297 #973B80
square
#97803B #3B9752 #3B5297 #973B80
split-complementary
#97803B #3B8097 #523B97
monochromatic
#3F3519 #6B5B2A #97803B #BCA253 #CDBA7F
Accessibility & contrast
On white
3.84
#97803B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#97803B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97803B
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97803B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97803B | 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)
#8D7E34
Deuteranopia (green-blind)
#92853E
Tritanopia (blue-blind)
#A37771
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #97803b; /* rgb */ color: rgb(151, 128, 59); /* oklch */ color: oklch(60.7% 0.093 91.0);
Tailwind
colors: {
custom: {
50: '#b8a473',
500: '#97803b',
950: '#000000',
},
}SCSS
$custom: #97803b; $custom-light: #b8a473; $custom-dark: #000000;
JSON
{
"hex": "#97803b",
"rgb": {
"r": 151,
"g": 128,
"b": 59
},
"hsl": {
"h": 45,
"s": 43.81,
"l": 41.176
},
"oklch": {
"l": 0.60687,
"c": 0.09273,
"h": 91
},
"luminance": 0.22333
}Semantic roles & 50–950 ramp
primary
#97803B
secondary
#7787B7
accent
#74D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B