#897E23#897E23
#897E23 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.109 H 102.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #897E23 |
|---|---|
| RGB | rgb(137, 126, 35) |
| HSL | hsl(54, 59%, 34%) |
| HSV | hsv(54, 74%, 54%) |
| CMYK | cmyk(0%, 8%, 74.5%, 46.3%) |
| CIE-LAB | lab(52.24, -6.59, 48.17) |
| CIE-LCH | lch(52.24, 48.62, 97.79°) |
| OKLab | oklab(58.61% -0.0231 0.1065) |
| OKLCH | oklch(58.61% 0.109 102.2) |
| XYZ | xyz(18.0816, 20.3622, 4.5676) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.10
Baby Poop
#937C00
ΔE00 4.59
Hazel
#8E7618
ΔE00 4.79
Ugly Brown
#7D7103
ΔE00 5.25
Puke Brown
#947706
ΔE00 6.19
Drab
#828344
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897E23 #232E89
analogous
#894B23 #897E23 #618923
triadic
#897E23 #23897E #7E2389
tetradic
#897E23 #23894B #232E89 #892361
square
#897E23 #23894B #232E89 #892361
split-complementary
#897E23 #236189 #4B2389
monochromatic
#28240A #585117 #897E23 #BAAB2F #D3C553
Accessibility & contrast
On white
4.14
#897E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#897E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897E23
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897E23 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #897e23; /* rgb */ color: rgb(137, 126, 35); /* oklch */ color: oklch(58.6% 0.109 102.2);
Tailwind
colors: {
custom: {
50: '#afa365',
500: '#897e23',
950: '#000000',
},
}SCSS
$custom: #897e23; $custom-light: #afa365; $custom-dark: #000000;
JSON
{
"hex": "#897e23",
"rgb": {
"r": 137,
"g": 126,
"b": 35
},
"hsl": {
"h": 53.529,
"s": 59.302,
"l": 33.725
},
"oklch": {
"l": 0.58606,
"c": 0.10902,
"h": 102.2
},
"luminance": 0.20361
}Semantic roles & 50–950 ramp
primary
#897E23
secondary
#515CB7
accent
#56E245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A