#897F2F#897F2F
#897F2F is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.101 H 102.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #897F2F |
|---|---|
| RGB | rgb(137, 127, 47) |
| HSL | hsl(53, 49%, 36%) |
| HSV | hsv(53, 66%, 54%) |
| CMYK | cmyk(0%, 7.3%, 65.7%, 46.3%) |
| CIE-LAB | lab(52.62, -6.44, 43.43) |
| CIE-LCH | lch(52.62, 43.91, 98.44°) |
| OKLab | oklab(58.94% -0.0213 0.0987) |
| OKLCH | oklch(58.94% 0.101 102.2) |
| XYZ | xyz(18.4197, 20.7031, 5.7146) |
| Luminance | 0.2070 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.02
Olive
#808000
ΔE00 5.04
Hazel
#8E7618
ΔE00 5.53
Baby Poop
#937C00
ΔE00 5.79
Ugly Brown
#7D7103
ΔE00 6.20
Puke Brown
#947706
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897F2F #2F3989
analogous
#89522F #897F2F #66892F
triadic
#897F2F #2F897F #7F2F89
tetradic
#897F2F #2F8952 #2F3989 #892F66
square
#897F2F #2F8952 #2F3989 #892F66
split-complementary
#897F2F #2F6689 #522F89
monochromatic
#2E2B10 #5B551F #897F2F #B7A93F #CBC067
Accessibility & contrast
On white
4.09
#897F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#897F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897F2F
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897F2F | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#8D8033
Tritanopia (blue-blind)
#93766E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #897f2f; /* rgb */ color: rgb(137, 127, 47); /* oklch */ color: oklch(58.9% 0.101 102.2);
Tailwind
colors: {
custom: {
50: '#aea36c',
500: '#897f2f',
950: '#000000',
},
}SCSS
$custom: #897f2f; $custom-light: #aea36c; $custom-dark: #000000;
JSON
{
"hex": "#897f2f",
"rgb": {
"r": 137,
"g": 127,
"b": 47
},
"hsl": {
"h": 53.333,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.58937,
"c": 0.10095,
"h": 102.2
},
"luminance": 0.20702
}Semantic roles & 50–950 ramp
primary
#897F2F
secondary
#626BB2
accent
#5FD84F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A