#897B18#897B18
#897B18 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.113 H 100.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #897B18 |
|---|---|
| RGB | rgb(137, 123, 24) |
| HSL | hsl(53, 70%, 32%) |
| HSV | hsv(53, 82%, 54%) |
| CMYK | cmyk(0%, 10.2%, 82.5%, 46.3%) |
| CIE-LAB | lab(51.33, -5.40, 51.23) |
| CIE-LCH | lch(51.33, 51.51, 96.01°) |
| OKLab | oklab(57.86% -0.0208 0.1108) |
| OKLCH | oklch(57.86% 0.113 100.6) |
| XYZ | xyz(17.5652, 19.5511, 3.7125) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.45
Hazel
#8E7618
ΔE00 3.56
Ugly Brown
#7D7103
ΔE00 4.14
Olive
#808000
ΔE00 4.57
Puke Brown
#947706
ΔE00 4.92
Poo
#8F7303
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897B18 #182689
analogous
#894318 #897B18 #5F8918
triadic
#897B18 #18897B #7B1889
tetradic
#897B18 #188943 #182689 #89185F
square
#897B18 #188943 #182689 #89185F
split-complementary
#897B18 #185F89 #431889
monochromatic
#211D06 #554C0F #897B18 #BDAA21 #DDCA3E
Accessibility & contrast
On white
4.28
#897B18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#897B18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897B18
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897B18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897B18 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897b18; /* rgb */ color: rgb(137, 123, 24); /* oklch */ color: oklch(57.9% 0.113 100.6);
Tailwind
colors: {
custom: {
50: '#afa05f',
500: '#897b18',
950: '#000000',
},
}SCSS
$custom: #897b18; $custom-light: #afa05f; $custom-dark: #000000;
JSON
{
"hex": "#897b18",
"rgb": {
"r": 137,
"g": 123,
"b": 24
},
"hsl": {
"h": 52.566,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.57857,
"c": 0.11274,
"h": 100.6
},
"luminance": 0.1955
}Semantic roles & 50–950 ramp
primary
#897B18
secondary
#4050BD
accent
#51ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79