#897B22#897B22
#897B22 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.107 H 100.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #897B22 |
|---|---|
| RGB | rgb(137, 123, 34) |
| HSL | hsl(52, 60%, 34%) |
| HSV | hsv(52, 75%, 54%) |
| CMYK | cmyk(0%, 10.2%, 75.2%, 46.3%) |
| CIE-LAB | lab(51.38, -4.97, 47.73) |
| CIE-LCH | lch(51.38, 47.99, 95.95°) |
| OKLab | oklab(57.92% -0.0186 0.1054) |
| OKLCH | oklch(57.92% 0.107 100) |
| XYZ | xyz(17.6891, 19.6006, 4.3646) |
| Luminance | 0.1960 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.55
Baby Poop
#937C00
ΔE00 4.06
Ugly Brown
#7D7103
ΔE00 4.44
Olive
#808000
ΔE00 5.07
Puke Brown
#947706
ΔE00 5.17
Poo
#8F7303
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897B22 #223089
analogous
#894722 #897B22 #638922
triadic
#897B22 #22897B #7B2289
tetradic
#897B22 #228947 #223089 #892263
square
#897B22 #228947 #223089 #892263
split-complementary
#897B22 #226389 #472289
monochromatic
#27230A #584F16 #897B22 #BAA72E #D4C251
Accessibility & contrast
On white
4.27
#897B22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#897B22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897B22
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897B22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897B22 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897b22; /* rgb */ color: rgb(137, 123, 34); /* oklch */ color: oklch(57.9% 0.107 100.0);
Tailwind
colors: {
custom: {
50: '#afa064',
500: '#897b22',
950: '#000000',
},
}SCSS
$custom: #897b22; $custom-light: #afa064; $custom-dark: #000000;
JSON
{
"hex": "#897b22",
"rgb": {
"r": 137,
"g": 123,
"b": 34
},
"hsl": {
"h": 51.845,
"s": 60.234,
"l": 33.529
},
"oklch": {
"l": 0.5792,
"c": 0.10705,
"h": 100
},
"luminance": 0.196
}Semantic roles & 50–950 ramp
primary
#897B22
secondary
#4F5DB8
accent
#5AE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A