#897C29#897C29
#897C29 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.103 H 100.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #897C29 |
|---|---|
| RGB | rgb(137, 124, 41) |
| HSL | hsl(52, 54%, 35%) |
| HSV | hsv(52, 70%, 54%) |
| CMYK | cmyk(0%, 9.5%, 70.1%, 46.3%) |
| CIE-LAB | lab(51.72, -5.15, 45.17) |
| CIE-LCH | lch(51.72, 45.46, 96.51°) |
| OKLab | oklab(58.2% -0.0184 0.1013) |
| OKLCH | oklch(58.2% 0.103 100.3) |
| XYZ | xyz(17.9252, 19.8946, 4.9932) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.13
Baby Poop
#937C00
ΔE00 4.77
Ugly Brown
#7D7103
ΔE00 5.06
Olive
#808000
ΔE00 5.28
Puke Brown
#947706
ΔE00 5.81
Poo
#8F7303
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C29 #293689
analogous
#894C29 #897C29 #668929
triadic
#897C29 #29897C #7C2989
tetradic
#897C29 #29894C #293689 #892966
square
#897C29 #29894C #293689 #892966
split-complementary
#897C29 #296689 #4C2989
monochromatic
#2B270D #5A511B #897C29 #B8A737 #CFBF5E
Accessibility & contrast
On white
4.22
#897C29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#897C29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C29
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C29 | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88781E
Deuteranopia (green-blind)
#8C7D2E
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c29; /* rgb */ color: rgb(137, 124, 41); /* oklch */ color: oklch(58.2% 0.103 100.3);
Tailwind
colors: {
custom: {
50: '#aea168',
500: '#897c29',
950: '#000000',
},
}SCSS
$custom: #897c29; $custom-light: #aea168; $custom-dark: #000000;
JSON
{
"hex": "#897c29",
"rgb": {
"r": 137,
"g": 124,
"b": 41
},
"hsl": {
"h": 51.875,
"s": 53.933,
"l": 34.902
},
"oklch": {
"l": 0.58202,
"c": 0.10297,
"h": 100.3
},
"luminance": 0.19894
}Semantic roles & 50–950 ramp
primary
#897C29
secondary
#5A66B4
accent
#5EDD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A