#897B23#897B23
#897B23 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.106 H 100.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #897B23 |
|---|---|
| RGB | rgb(137, 123, 35) |
| HSL | hsl(52, 59%, 34%) |
| HSV | hsv(52, 74%, 54%) |
| CMYK | cmyk(0%, 10.2%, 74.5%, 46.3%) |
| CIE-LAB | lab(51.39, -4.92, 47.34) |
| CIE-LCH | lch(51.39, 47.60, 95.94°) |
| OKLab | oklab(57.93% -0.0184 0.1048) |
| OKLCH | oklch(57.93% 0.106 100) |
| XYZ | xyz(17.7037, 19.6065, 4.4417) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.57
Baby Poop
#937C00
ΔE00 4.14
Ugly Brown
#7D7103
ΔE00 4.49
Olive
#808000
ΔE00 5.14
Puke Brown
#947706
ΔE00 5.22
Poo
#8F7303
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897B23 #233189
analogous
#894823 #897B23 #648923
triadic
#897B23 #23897B #7B2389
tetradic
#897B23 #238948 #233189 #892364
square
#897B23 #238948 #233189 #892364
split-complementary
#897B23 #236489 #482389
monochromatic
#28230A #584F17 #897B23 #BAA72F #D3C253
Accessibility & contrast
On white
4.27
#897B23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#897B23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897B23
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897B23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897B23 | 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)
#877714
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897b23; /* rgb */ color: rgb(137, 123, 35); /* oklch */ color: oklch(57.9% 0.106 100.0);
Tailwind
colors: {
custom: {
50: '#afa064',
500: '#897b23',
950: '#000000',
},
}SCSS
$custom: #897b23; $custom-light: #afa064; $custom-dark: #000000;
JSON
{
"hex": "#897b23",
"rgb": {
"r": 137,
"g": 123,
"b": 35
},
"hsl": {
"h": 51.765,
"s": 59.302,
"l": 33.725
},
"oklch": {
"l": 0.57928,
"c": 0.10638,
"h": 100
},
"luminance": 0.19606
}Semantic roles & 50–950 ramp
primary
#897B23
secondary
#515FB7
accent
#5BE245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A