#897E2B#897E2B

#897E2B is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.103 H 101.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#897E2B
RGBrgb(137, 126, 43)
HSLhsl(53, 52%, 35%)
HSVhsv(53, 69%, 54%)
CMYKcmyk(0%, 8%, 68.6%, 46.3%)
CIE-LABlab(52.30, -6.15, 44.90)
CIE-LCHlch(52.30, 45.31, 97.79°)
OKLaboklab(58.67% -0.0209 0.1011)
OKLCHoklch(58.67% 0.103 101.7)
XYZxyz(18.2142, 20.4153, 5.2661)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E2B #2B3689
analogous
#894F2B #897E2B #65892B
triadic
#897E2B #2B897E #7E2B89
tetradic
#897E2B #2B894F #2B3689 #892B65
square
#897E2B #2B894F #2B3689 #892B65
split-complementary
#897E2B #2B6589 #4F2B89
monochromatic
#2C280E #5A531C #897E2B #B8A93A #CDC161

Accessibility & contrast

On white

4.13
#897E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#897E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E2B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E2B#FFFFFF#000000##000000
##897E2B1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A20
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#93756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897e2b;
/* rgb */ color: rgb(137, 126, 43);
/* oklch */ color: oklch(58.7% 0.103 101.7);
Tailwind
colors: {
  custom: {
    50: '#aea369',
    500: '#897e2b',
    950: '#000000',
  },
}
SCSS
$custom: #897e2b;
$custom-light: #aea369;
$custom-dark: #000000;
JSON
{
  "hex": "#897e2b",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 52.979,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.10325,
    "h": 101.7
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#897E2B
secondary
#5C67B3
accent
#5DDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897E2B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#897E2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva