#897F29#897F29
#897F29 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.106 H 102.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #897F29 |
|---|---|
| RGB | rgb(137, 127, 41) |
| HSL | hsl(54, 54%, 35%) |
| HSV | hsv(54, 70%, 54%) |
| CMYK | cmyk(0%, 7.3%, 70.1%, 46.3%) |
| CIE-LAB | lab(52.57, -6.82, 46.04) |
| CIE-LCH | lch(52.57, 46.54, 98.43°) |
| OKLab | oklab(58.88% -0.0231 0.1032) |
| OKLCH | oklch(58.88% 0.106 102.6) |
| XYZ | xyz(18.3069, 20.6580, 5.1205) |
| Luminance | 0.2066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.35
Baby Poop
#937C00
ΔE00 5.24
Hazel
#8E7618
ΔE00 5.31
Drab
#828344
ΔE00 5.66
Ugly Brown
#7D7103
ΔE00 5.81
Shit Green
#758000
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897F29 #293389
analogous
#894F29 #897F29 #638929
triadic
#897F29 #29897F #7F2989
tetradic
#897F29 #29894F #293389 #892963
square
#897F29 #29894F #293389 #892963
split-complementary
#897F29 #296389 #4F2989
monochromatic
#2B280D #5A531B #897F29 #B8AB37 #CFC35E
Accessibility & contrast
On white
4.09
#897F29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#897F29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897F29
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897F29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897F29 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#8E7F2E
Tritanopia (blue-blind)
#93766E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897f29; /* rgb */ color: rgb(137, 127, 41); /* oklch */ color: oklch(58.9% 0.106 102.6);
Tailwind
colors: {
custom: {
50: '#aea368',
500: '#897f29',
950: '#000000',
},
}SCSS
$custom: #897f29; $custom-light: #aea368; $custom-dark: #000000;
JSON
{
"hex": "#897f29",
"rgb": {
"r": 137,
"g": 127,
"b": 41
},
"hsl": {
"h": 53.75,
"s": 53.933,
"l": 34.902
},
"oklch": {
"l": 0.58881,
"c": 0.10571,
"h": 102.6
},
"luminance": 0.20657
}Semantic roles & 50–950 ramp
primary
#897F29
secondary
#5A63B4
accent
#5ADD4A
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A