#897D26#897D26
#897D26 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.106 H 101.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #897D26 |
|---|---|
| RGB | rgb(137, 125, 38) |
| HSL | hsl(53, 57%, 34%) |
| HSV | hsv(53, 72%, 54%) |
| CMYK | cmyk(0%, 8.8%, 72.3%, 46.3%) |
| CIE-LAB | lab(51.98, -5.88, 46.70) |
| CIE-LCH | lch(51.98, 47.07, 97.18°) |
| OKLab | oklab(58.4% -0.0208 0.104) |
| OKLCH | oklch(58.4% 0.106 101.3) |
| XYZ | xyz(18.0008, 20.1263, 4.7699) |
| Luminance | 0.2013 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.43
Baby Poop
#937C00
ΔE00 4.63
Olive
#808000
ΔE00 4.66
Ugly Brown
#7D7103
ΔE00 5.10
Puke Brown
#947706
ΔE00 5.96
Poo
#8F7303
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897D26 #263289
analogous
#894C26 #897D26 #648926
triadic
#897D26 #26897D #7D2689
tetradic
#897D26 #26894C #263289 #892664
square
#897D26 #26894C #263289 #892664
split-complementary
#897D26 #266489 #4C2689
monochromatic
#29260B #595119 #897D26 #B9A933 #D1C259
Accessibility & contrast
On white
4.18
#897D26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#897D26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897D26
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897D26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897D26 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897919
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#94746C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #897d26; /* rgb */ color: rgb(137, 125, 38); /* oklch */ color: oklch(58.4% 0.106 101.3);
Tailwind
colors: {
custom: {
50: '#afa266',
500: '#897d26',
950: '#000000',
},
}SCSS
$custom: #897d26; $custom-light: #afa266; $custom-dark: #000000;
JSON
{
"hex": "#897d26",
"rgb": {
"r": 137,
"g": 125,
"b": 38
},
"hsl": {
"h": 52.727,
"s": 56.571,
"l": 34.314
},
"oklch": {
"l": 0.58403,
"c": 0.10606,
"h": 101.3
},
"luminance": 0.20126
}Semantic roles & 50–950 ramp
primary
#897D26
secondary
#5561B6
accent
#5AE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A