#897B25#897B25
#897B25 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.105 H 99.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #897B25 |
|---|---|
| RGB | rgb(137, 123, 37) |
| HSL | hsl(52, 57%, 34%) |
| HSV | hsv(52, 73%, 54%) |
| CMYK | cmyk(0%, 10.2%, 73%, 46.3%) |
| CIE-LAB | lab(51.40, -4.82, 46.54) |
| CIE-LCH | lch(51.40, 46.79, 95.91°) |
| OKLab | oklab(57.94% -0.0179 0.1035) |
| OKLCH | oklch(57.94% 0.105 99.8) |
| XYZ | xyz(17.7342, 19.6187, 4.6026) |
| Luminance | 0.1962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.62
Baby Poop
#937C00
ΔE00 4.31
Ugly Brown
#7D7103
ΔE00 4.60
Olive
#808000
ΔE00 5.29
Puke Brown
#947706
ΔE00 5.31
Poo
#8F7303
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897B25 #253389
analogous
#894925 #897B25 #658925
triadic
#897B25 #25897B #7B2589
tetradic
#897B25 #258949 #253389 #892565
square
#897B25 #258949 #253389 #892565
split-complementary
#897B25 #256589 #492589
monochromatic
#29240B #595018 #897B25 #B9A632 #D2C057
Accessibility & contrast
On white
4.27
#897B25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#897B25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897B25
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897B25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897B25 | 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)
#877818
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897b25; /* rgb */ color: rgb(137, 123, 37); /* oklch */ color: oklch(57.9% 0.105 99.8);
Tailwind
colors: {
custom: {
50: '#afa065',
500: '#897b25',
950: '#000000',
},
}SCSS
$custom: #897b25; $custom-light: #afa065; $custom-dark: #000000;
JSON
{
"hex": "#897b25",
"rgb": {
"r": 137,
"g": 123,
"b": 37
},
"hsl": {
"h": 51.6,
"s": 57.471,
"l": 34.118
},
"oklch": {
"l": 0.57943,
"c": 0.10501,
"h": 99.8
},
"luminance": 0.19618
}Semantic roles & 50–950 ramp
primary
#897B25
secondary
#5462B6
accent
#5DE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A