#897D2E#897D2E

#897D2E is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.100 H 100.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#897D2E
RGBrgb(137, 125, 46)
HSLhsl(52, 50%, 36%)
HSVhsv(52, 66%, 54%)
CMYKcmyk(0%, 8.8%, 66.4%, 46.3%)
CIE-LABlab(52.04, -5.40, 43.28)
CIE-LCHlch(52.04, 43.61, 97.11°)
OKLaboklab(58.48% -0.0184 0.0982)
OKLCHoklch(58.48% 0.1 100.6)
XYZxyz(18.1440, 20.1836, 5.5243)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D2E #2E3A89
analogous
#894F2E #897D2E #67892E
triadic
#897D2E #2E897D #7D2E89
tetradic
#897D2E #2E894F #2E3A89 #892E67
square
#897D2E #2E894F #2E3A89 #892E67
split-complementary
#897D2E #2E6789 #4F2E89
monochromatic
#2D290F #5B531F #897D2E #B7A73D #CCBE66

Accessibility & contrast

On white

4.17
#897D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#897D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D2E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D2E#FFFFFF#000000##000000
##897D2E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897924
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#93746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d2e;
/* rgb */ color: rgb(137, 125, 46);
/* oklch */ color: oklch(58.5% 0.100 100.6);
Tailwind
colors: {
  custom: {
    50: '#aea26b',
    500: '#897d2e',
    950: '#000000',
  },
}
SCSS
$custom: #897d2e;
$custom-light: #aea26b;
$custom-dark: #000000;
JSON
{
  "hex": "#897d2e",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 52.088,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58475,
    "c": 0.09991,
    "h": 100.6
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#897D2E
secondary
#606BB2
accent
#61D94F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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