#897A18#897A18
#897A18 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.112 H 99.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #897A18 |
|---|---|
| RGB | rgb(137, 122, 24) |
| HSL | hsl(52, 70%, 32%) |
| HSV | hsv(52, 82%, 54%) |
| CMYK | cmyk(0%, 10.9%, 82.5%, 46.3%) |
| CIE-LAB | lab(51.04, -4.84, 50.98) |
| CIE-LCH | lch(51.04, 51.20, 95.42°) |
| OKLab | oklab(57.63% -0.0193 0.1103) |
| OKLCH | oklch(57.63% 0.112 99.9) |
| XYZ | xyz(17.4418, 19.3043, 3.6714) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.14
Baby Poop
#937C00
ΔE00 3.34
Ugly Brown
#7D7103
ΔE00 3.91
Puke Brown
#947706
ΔE00 4.59
Poo
#8F7303
ΔE00 4.64
Olive
#808000
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897A18 #182789
analogous
#894218 #897A18 #608918
triadic
#897A18 #18897A #7A1889
tetradic
#897A18 #188942 #182789 #891860
square
#897A18 #188942 #182789 #891860
split-complementary
#897A18 #186089 #421889
monochromatic
#211D06 #554C0F #897A18 #BDA821 #DDC83E
Accessibility & contrast
On white
4.32
#897A18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#897A18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897A18
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897A18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897A18 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897a18; /* rgb */ color: rgb(137, 122, 24); /* oklch */ color: oklch(57.6% 0.112 99.9);
Tailwind
colors: {
custom: {
50: '#afa05f',
500: '#897a18',
950: '#000000',
},
}SCSS
$custom: #897a18; $custom-light: #afa05f; $custom-dark: #000000;
JSON
{
"hex": "#897a18",
"rgb": {
"r": 137,
"g": 122,
"b": 24
},
"hsl": {
"h": 52.035,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.57631,
"c": 0.11193,
"h": 99.9
},
"luminance": 0.19303
}Semantic roles & 50–950 ramp
primary
#897A18
secondary
#4051BD
accent
#52ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79