#897F4E#897F4E

#897F4E is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.4% C 0.069 H 98.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#897F4E
RGBrgb(137, 127, 78)
HSLhsl(50, 27%, 42%)
HSVhsv(50, 43%, 54%)
CMYKcmyk(0%, 7.3%, 43.1%, 46.3%)
CIE-LABlab(53.00, -3.63, 27.98)
CIE-LCHlch(53.00, 28.21, 97.39°)
OKLaboklab(59.36% -0.0097 0.0682)
OKLCHoklch(59.36% 0.069 98.1)
XYZxyz(19.2815, 21.0478, 10.2532)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897F4E #4E5889
analogous
#89624E #897F4E #75894E
triadic
#897F4E #4E897F #7F4E89
tetradic
#897F4E #4E8962 #4E5889 #894E75
square
#897F4E #4E8962 #4E5889 #894E75
split-complementary
#897F4E #4E7589 #624E89
monochromatic
#3B3722 #625B38 #897F4E #AA9F6A #C0B891

Accessibility & contrast

On white

4.03
#897F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#897F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897F4E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897F4E#FFFFFF#000000##000000
##897F4E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C4A
Deuteranopia (green-blind)
#8B8050
Tritanopia (blue-blind)
#917873
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #897f4e;
/* rgb */ color: rgb(137, 127, 78);
/* oklch */ color: oklch(59.4% 0.069 98.1);
Tailwind
colors: {
  custom: {
    50: '#aca480',
    500: '#897f4e',
    950: '#000000',
  },
}
SCSS
$custom: #897f4e;
$custom-light: #aca480;
$custom-dark: #000000;
JSON
{
  "hex": "#897f4e",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 49.831,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5936,
    "c": 0.06886,
    "h": 98.1
  },
  "luminance": 0.21047
}

Semantic roles & 50–950 ramp

primary
#897F4E
secondary
#868CAD
accent
#74C464
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #897F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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