#897C27#897C27
#897C27 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.104 H 100.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #897C27 |
|---|---|
| RGB | rgb(137, 124, 39) |
| HSL | hsl(52, 56%, 35%) |
| HSV | hsv(52, 72%, 54%) |
| CMYK | cmyk(0%, 9.5%, 71.5%, 46.3%) |
| CIE-LAB | lab(51.70, -5.27, 46.01) |
| CIE-LCH | lch(51.70, 46.31, 96.53°) |
| OKLab | oklab(58.18% -0.0189 0.1027) |
| OKLCH | oklch(58.18% 0.104 100.4) |
| XYZ | xyz(17.8912, 19.8810, 4.8141) |
| Luminance | 0.1988 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.06
Baby Poop
#937C00
ΔE00 4.58
Ugly Brown
#7D7103
ΔE00 4.93
Olive
#808000
ΔE00 5.09
Puke Brown
#947706
ΔE00 5.70
Poo
#8F7303
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C27 #273489
analogous
#894B27 #897C27 #658927
triadic
#897C27 #27897C #7C2789
tetradic
#897C27 #27894B #273489 #892765
square
#897C27 #27894B #273489 #892765
split-complementary
#897C27 #276589 #4B2789
monochromatic
#2A260C #595119 #897C27 #B9A735 #D0C05A
Accessibility & contrast
On white
4.22
#897C27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#897C27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C27
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C27 | 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)
#88781B
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c27; /* rgb */ color: rgb(137, 124, 39); /* oklch */ color: oklch(58.2% 0.104 100.4);
Tailwind
colors: {
custom: {
50: '#aea167',
500: '#897c27',
950: '#000000',
},
}SCSS
$custom: #897c27; $custom-light: #aea167; $custom-dark: #000000;
JSON
{
"hex": "#897c27",
"rgb": {
"r": 137,
"g": 124,
"b": 39
},
"hsl": {
"h": 52.041,
"s": 55.682,
"l": 34.51
},
"oklch": {
"l": 0.58185,
"c": 0.10446,
"h": 100.4
},
"luminance": 0.1988
}Semantic roles & 50–950 ramp
primary
#897C27
secondary
#5763B5
accent
#5DDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A