#897F1A#897F1A
#897F1A is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.115 H 103.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #897F1A |
|---|---|
| RGB | rgb(137, 127, 26) |
| HSL | hsl(55, 68%, 32%) |
| HSV | hsv(55, 81%, 54%) |
| CMYK | cmyk(0%, 7.3%, 81%, 46.3%) |
| CIE-LAB | lab(52.48, -7.54, 51.61) |
| CIE-LCH | lch(52.48, 52.16, 98.31°) |
| OKLab | oklab(58.78% -0.0267 0.112) |
| OKLCH | oklch(58.78% 0.115 103.4) |
| XYZ | xyz(18.0932, 20.5725, 3.9949) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.28
Baby Poop
#937C00
ΔE00 4.39
Hazel
#8E7618
ΔE00 5.24
Ugly Brown
#7D7103
ΔE00 5.38
Shit Green
#758000
ΔE00 6.15
Puke Brown
#947706
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897F1A #1A2489
analogous
#89481A #897F1A #5B891A
triadic
#897F1A #1A897F #7F1A89
tetradic
#897F1A #1A8948 #1A2489 #891A5B
square
#897F1A #1A8948 #1A2489 #891A5B
split-complementary
#897F1A #1A5B89 #481A89
monochromatic
#222006 #564F10 #897F1A #BCAF24 #DBCD42
Accessibility & contrast
On white
4.11
#897F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#897F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897F1A
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897F1A | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897f1a; /* rgb */ color: rgb(137, 127, 26); /* oklch */ color: oklch(58.8% 0.115 103.4);
Tailwind
colors: {
custom: {
50: '#afa360',
500: '#897f1a',
950: '#000000',
},
}SCSS
$custom: #897f1a; $custom-light: #afa360; $custom-dark: #000000;
JSON
{
"hex": "#897f1a",
"rgb": {
"r": 137,
"g": 127,
"b": 26
},
"hsl": {
"h": 54.595,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.58776,
"c": 0.11517,
"h": 103.4
},
"luminance": 0.20572
}Semantic roles & 50–950 ramp
primary
#897F1A
secondary
#434EBC
accent
#4DEB3D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A