#897C30#897C30
#897C30 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.3% C 0.097 H 99.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #897C30 |
|---|---|
| RGB | rgb(137, 124, 48) |
| HSL | hsl(51, 48%, 36%) |
| HSV | hsv(51, 65%, 54%) |
| CMYK | cmyk(0%, 9.5%, 65%, 46.3%) |
| CIE-LAB | lab(51.78, -4.71, 42.06) |
| CIE-LCH | lch(51.78, 42.33, 96.38°) |
| OKLab | oklab(58.27% -0.0162 0.0959) |
| OKLCH | oklch(58.27% 0.097 99.6) |
| XYZ | xyz(18.0584, 19.9479, 5.6948) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.55
Baby Poop
#937C00
ΔE00 5.56
Ugly Brown
#7D7103
ΔE00 5.66
Drab
#828344
ΔE00 5.69
Olive
#808000
ΔE00 6.07
Puke Brown
#947706
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897C30 #303D89
analogous
#895030 #897C30 #6A8930
triadic
#897C30 #30897C #7C3089
tetradic
#897C30 #308950 #303D89 #89306A
square
#897C30 #308950 #303D89 #89306A
split-complementary
#897C30 #306A89 #503089
monochromatic
#2E2A10 #5C5320 #897C30 #B6A540 #CABC69
Accessibility & contrast
On white
4.21
#897C30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#897C30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897C30
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897C30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897C30 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877927
Deuteranopia (green-blind)
#8B7E34
Tritanopia (blue-blind)
#93736C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897c30; /* rgb */ color: rgb(137, 124, 48); /* oklch */ color: oklch(58.3% 0.097 99.6);
Tailwind
colors: {
custom: {
50: '#aea16c',
500: '#897c30',
950: '#000000',
},
}SCSS
$custom: #897c30; $custom-light: #aea16c; $custom-dark: #000000;
JSON
{
"hex": "#897c30",
"rgb": {
"r": 137,
"g": 124,
"b": 48
},
"hsl": {
"h": 51.236,
"s": 48.108,
"l": 36.275
},
"oklch": {
"l": 0.5827,
"c": 0.0973,
"h": 99.6
},
"luminance": 0.19947
}Semantic roles & 50–950 ramp
primary
#897C30
secondary
#636FB2
accent
#64D850
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A