#897B2F#897B2F
#897B2F is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.097 H 98.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #897B2F |
|---|---|
| RGB | rgb(137, 123, 47) |
| HSL | hsl(51, 49%, 36%) |
| HSV | hsv(51, 66%, 54%) |
| CMYK | cmyk(0%, 10.2%, 65.7%, 46.3%) |
| CIE-LAB | lab(51.49, -4.21, 42.22) |
| CIE-LCH | lch(51.49, 42.43, 95.70°) |
| OKLab | oklab(58.03% -0.0149 0.0961) |
| OKLCH | oklch(58.03% 0.097 98.8) |
| XYZ | xyz(17.9133, 19.6903, 5.5458) |
| Luminance | 0.1969 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.17
Baby Poop
#937C00
ΔE00 5.40
Ugly Brown
#7D7103
ΔE00 5.43
Puke Brown
#947706
ΔE00 5.99
Poo
#8F7303
ΔE00 6.04
Drab
#828344
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897B2F #2F3D89
analogous
#894E2F #897B2F #6A892F
triadic
#897B2F #2F897B #7B2F89
tetradic
#897B2F #2F894E #2F3D89 #892F6A
square
#897B2F #2F894E #2F3D89 #892F6A
split-complementary
#897B2F #2F6A89 #4E2F89
monochromatic
#2E2910 #5B521F #897B2F #B7A43F #CBBC67
Accessibility & contrast
On white
4.25
#897B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#897B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897B2F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897B2F | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#93726B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #897b2f; /* rgb */ color: rgb(137, 123, 47); /* oklch */ color: oklch(58.0% 0.097 98.8);
Tailwind
colors: {
custom: {
50: '#aea06b',
500: '#897b2f',
950: '#000000',
},
}SCSS
$custom: #897b2f; $custom-light: #aea06b; $custom-dark: #000000;
JSON
{
"hex": "#897b2f",
"rgb": {
"r": 137,
"g": 123,
"b": 47
},
"hsl": {
"h": 50.667,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.58034,
"c": 0.09726,
"h": 98.8
},
"luminance": 0.1969
}Semantic roles & 50–950 ramp
primary
#897B2F
secondary
#626EB2
accent
#65D84F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A