#897D4E#897D4E

#897D4E is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.067 H 95.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#897D4E
RGBrgb(137, 125, 78)
HSLhsl(48, 27%, 42%)
HSVhsv(48, 43%, 54%)
CMYKcmyk(0%, 8.8%, 43.1%, 46.3%)
CIE-LABlab(52.44, -2.51, 27.26)
CIE-LCHlch(52.44, 27.37, 95.25°)
OKLaboklab(58.91% -0.0064 0.0665)
OKLCHoklch(58.91% 0.067 95.5)
XYZxyz(19.0257, 20.5363, 10.1680)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D4E #4E5A89
analogous
#89604E #897D4E #78894E
triadic
#897D4E #4E897D #7D4E89
tetradic
#897D4E #4E8960 #4E5A89 #894E78
square
#897D4E #4E8960 #4E5A89 #894E78
split-complementary
#897D4E #4E7889 #604E89
monochromatic
#3B3622 #625938 #897D4E #AA9D6A #C0B791

Accessibility & contrast

On white

4.11
#897D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#897D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D4E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D4E#FFFFFF#000000##000000
##897D4E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4A
Deuteranopia (green-blind)
#897F50
Tritanopia (blue-blind)
#917671
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897d4e;
/* rgb */ color: rgb(137, 125, 78);
/* oklch */ color: oklch(58.9% 0.067 95.5);
Tailwind
colors: {
  custom: {
    50: '#aca280',
    500: '#897d4e',
    950: '#000000',
  },
}
SCSS
$custom: #897d4e;
$custom-light: #aca280;
$custom-dark: #000000;
JSON
{
  "hex": "#897d4e",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 47.797,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.06685,
    "h": 95.5
  },
  "luminance": 0.20536
}

Semantic roles & 50–950 ramp

primary
#897D4E
secondary
#868EAD
accent
#78C464
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100F0A
muted
#7F7E7C

Preview Lab

Preview with #897D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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