#897A1F#897A1F
#897A1F is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.108 H 99.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #897A1F |
|---|---|
| RGB | rgb(137, 122, 31) |
| HSL | hsl(52, 63%, 33%) |
| HSV | hsv(52, 77%, 54%) |
| CMYK | cmyk(0%, 10.9%, 77.4%, 46.3%) |
| CIE-LAB | lab(51.08, -4.56, 48.59) |
| CIE-LCH | lch(51.08, 48.80, 95.36°) |
| OKLab | oklab(57.67% -0.0178 0.1066) |
| OKLCH | oklch(57.67% 0.108 99.5) |
| XYZ | xyz(17.5242, 19.3372, 4.1055) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.11
Baby Poop
#937C00
ΔE00 3.76
Ugly Brown
#7D7103
ΔE00 4.11
Puke Brown
#947706
ΔE00 4.77
Poo
#8F7303
ΔE00 4.80
Olive
#808000
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#897A1F #1F2E89
analogous
#89451F #897A1F #63891F
triadic
#897A1F #1F897A #7A1F89
tetradic
#897A1F #1F8945 #1F2E89 #891F63
square
#897A1F #1F8945 #1F2E89 #891F63
split-complementary
#897A1F #1F6389 #451F89
monochromatic
#252108 #574E14 #897A1F #BBA62A #D6C34C
Accessibility & contrast
On white
4.31
#897A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#897A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #897A1F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##897A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##897A1F | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86770D
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#947069
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #897a1f; /* rgb */ color: rgb(137, 122, 31); /* oklch */ color: oklch(57.7% 0.108 99.5);
Tailwind
colors: {
custom: {
50: '#afa062',
500: '#897a1f',
950: '#000000',
},
}SCSS
$custom: #897a1f; $custom-light: #afa062; $custom-dark: #000000;
JSON
{
"hex": "#897a1f",
"rgb": {
"r": 137,
"g": 122,
"b": 31
},
"hsl": {
"h": 51.509,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.57673,
"c": 0.10809,
"h": 99.5
},
"luminance": 0.19336
}Semantic roles & 50–950 ramp
primary
#897A1F
secondary
#4B5AB9
accent
#59E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A