#897C4E#897C4E

#897C4E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.7% C 0.066 H 94.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#897C4E
RGBrgb(137, 124, 78)
HSLhsl(47, 27%, 42%)
HSVhsv(47, 43%, 54%)
CMYKcmyk(0%, 9.5%, 43.1%, 46.3%)
CIE-LABlab(52.16, -1.94, 26.90)
CIE-LCHlch(52.16, 26.97, 94.13°)
OKLaboklab(58.69% -0.0048 0.0657)
OKLCHoklch(58.69% 0.066 94.2)
XYZxyz(18.8998, 20.2844, 10.1260)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C4E #4E5B89
analogous
#895F4E #897C4E #79894E
triadic
#897C4E #4E897C #7C4E89
tetradic
#897C4E #4E895F #4E5B89 #894E79
square
#897C4E #4E895F #4E5B89 #894E79
split-complementary
#897C4E #4E7989 #5F4E89
monochromatic
#3B3522 #625938 #897C4E #AA9C6A #C0B691

Accessibility & contrast

On white

4.15
#897C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#897C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C4E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C4E#FFFFFF#000000##000000
##897C4E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4B
Deuteranopia (green-blind)
#887E50
Tritanopia (blue-blind)
#917571
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897c4e;
/* rgb */ color: rgb(137, 124, 78);
/* oklch */ color: oklch(58.7% 0.066 94.2);
Tailwind
colors: {
  custom: {
    50: '#aca180',
    500: '#897c4e',
    950: '#000000',
  },
}
SCSS
$custom: #897c4e;
$custom-light: #aca180;
$custom-dark: #000000;
JSON
{
  "hex": "#897c4e",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 46.78,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58692,
    "c": 0.06589,
    "h": 94.2
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #897C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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