#897B16#897B16
#897B16 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.114 H 100.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #897B16 |
|---|---|
| RGB | rgb(137, 123, 22) |
| HSL | hsl(53, 72%, 31%) |
| HSV | hsv(53, 84%, 54%) |
| CMYK | cmyk(0%, 10.2%, 83.9%, 46.3%) |
| CIE-LAB | lab(51.32, -5.47, 51.83) |
| CIE-LCH | lch(51.32, 52.12, 96.02°) |
| OKLab | oklab(57.85% -0.0212 0.1117) |
| OKLCH | oklch(57.85% 0.114 100.7) |
| XYZ | xyz(17.5452, 19.5431, 3.6069) |
| Luminance | 0.1954 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.36
Hazel
#8E7618
ΔE00 3.59
Ugly Brown
#7D7103
ΔE00 4.12
Olive
#808000
ΔE00 4.51
Puke Brown
#947706
ΔE00 4.89
Poo
#8F7303
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897B16 #162489
analogous
#894116 #897B16 #5D8916
triadic
#897B16 #16897B #7B1689
tetradic
#897B16 #168941 #162489 #89165D
square
#897B16 #168941 #162489 #89165D
split-complementary
#897B16 #165D89 #411689
monochromatic
#201C05 #544C0E #897B16 #BEAA1E #DFCB3A
Accessibility & contrast
On white
4.28
#897B16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#897B16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897B16
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897B16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897B16 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897b16; /* rgb */ color: rgb(137, 123, 22); /* oklch */ color: oklch(57.8% 0.114 100.7);
Tailwind
colors: {
custom: {
50: '#afa05e',
500: '#897b16',
950: '#000000',
},
}SCSS
$custom: #897b16; $custom-light: #afa05e; $custom-dark: #000000;
JSON
{
"hex": "#897b16",
"rgb": {
"r": 137,
"g": 123,
"b": 22
},
"hsl": {
"h": 52.696,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.57847,
"c": 0.11369,
"h": 100.7
},
"luminance": 0.19542
}Semantic roles & 50–950 ramp
primary
#897B16
secondary
#3E4DBD
accent
#4FEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79