#897818#897818
#897818 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.110 H 98.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #897818 |
|---|---|
| RGB | rgb(137, 120, 24) |
| HSL | hsl(51, 70%, 32%) |
| HSV | hsv(51, 82%, 54%) |
| CMYK | cmyk(0%, 12.4%, 82.5%, 46.3%) |
| CIE-LAB | lab(50.47, -3.72, 50.48) |
| CIE-LCH | lch(50.47, 50.61, 94.21°) |
| OKLab | oklab(57.18% -0.0161 0.1092) |
| OKLCH | oklch(57.18% 0.11 98.4) |
| XYZ | xyz(17.1988, 18.8182, 3.5903) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.35
Baby Poop
#937C00
ΔE00 3.33
Ugly Brown
#7D7103
ΔE00 3.60
Poo
#8F7303
ΔE00 3.86
Puke Brown
#947706
ΔE00 4.02
Yellowish Brown
#9B7A01
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897818 #182989
analogous
#893F18 #897818 #628918
triadic
#897818 #188978 #781889
tetradic
#897818 #18893F #182989 #891862
square
#897818 #18893F #182989 #891862
split-complementary
#897818 #186289 #3F1889
monochromatic
#211D06 #554A0F #897818 #BDA621 #DDC53E
Accessibility & contrast
On white
4.41
#897818 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#897818 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897818
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897818 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897818 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#897B1F
Tritanopia (blue-blind)
#946E66
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #897818; /* rgb */ color: rgb(137, 120, 24); /* oklch */ color: oklch(57.2% 0.110 98.4);
Tailwind
colors: {
custom: {
50: '#af9e5f',
500: '#897818',
950: '#000000',
},
}SCSS
$custom: #897818; $custom-light: #af9e5f; $custom-dark: #000000;
JSON
{
"hex": "#897818",
"rgb": {
"r": 137,
"g": 120,
"b": 24
},
"hsl": {
"h": 50.973,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.57181,
"c": 0.11037,
"h": 98.4
},
"luminance": 0.18817
}Semantic roles & 50–950 ramp
primary
#897818
secondary
#4053BD
accent
#56ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79