#897E4E#897E4E

#897E4E is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.068 H 96.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#897E4E
RGBrgb(137, 126, 78)
HSLhsl(49, 27%, 42%)
HSVhsv(49, 43%, 54%)
CMYKcmyk(0%, 8%, 43.1%, 46.3%)
CIE-LABlab(52.72, -3.07, 27.62)
CIE-LCHlch(52.72, 27.79, 96.34°)
OKLaboklab(59.14% -0.0081 0.0674)
OKLCHoklch(59.14% 0.068 96.8)
XYZxyz(19.1530, 20.7908, 10.2104)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E4E #4E5989
analogous
#89614E #897E4E #77894E
triadic
#897E4E #4E897E #7E4E89
tetradic
#897E4E #4E8961 #4E5989 #894E77
square
#897E4E #4E8961 #4E5989 #894E77
split-complementary
#897E4E #4E7789 #614E89
monochromatic
#3B3622 #625A38 #897E4E #AA9E6A #C0B891

Accessibility & contrast

On white

4.07
#897E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#897E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E4E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E4E#FFFFFF#000000##000000
##897E4E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4A
Deuteranopia (green-blind)
#8A7F50
Tritanopia (blue-blind)
#917772
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #897e4e;
/* rgb */ color: rgb(137, 126, 78);
/* oklch */ color: oklch(59.1% 0.068 96.8);
Tailwind
colors: {
  custom: {
    50: '#aca380',
    500: '#897e4e',
    950: '#000000',
  },
}
SCSS
$custom: #897e4e;
$custom-light: #aca380;
$custom-dark: #000000;
JSON
{
  "hex": "#897e4e",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 48.814,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59137,
    "c": 0.06784,
    "h": 96.8
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#897E4E
secondary
#868DAD
accent
#76C464
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #897E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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