#897B4E#897B4E

#897B4E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.5% C 0.065 H 92.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#897B4E
RGBrgb(137, 123, 78)
HSLhsl(46, 27%, 42%)
HSVhsv(46, 43%, 54%)
CMYKcmyk(0%, 10.2%, 43.1%, 46.3%)
CIE-LABlab(51.88, -1.38, 26.54)
CIE-LCHlch(51.88, 26.58, 92.97°)
OKLaboklab(58.47% -0.0031 0.0649)
OKLCHoklch(58.47% 0.065 92.8)
XYZxyz(18.7751, 20.0350, 10.0844)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B4E #4E5C89
analogous
#895E4E #897B4E #7A894E
triadic
#897B4E #4E897B #7B4E89
tetradic
#897B4E #4E895E #4E5C89 #894E7A
square
#897B4E #4E895E #4E5C89 #894E7A
split-complementary
#897B4E #4E7A89 #5E4E89
monochromatic
#3B3522 #625838 #897B4E #AA9B6A #C0B591

Accessibility & contrast

On white

4.19
#897B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#897B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B4E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B4E#FFFFFF#000000##000000
##897B4E1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84794B
Deuteranopia (green-blind)
#887E50
Tritanopia (blue-blind)
#917470
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897b4e;
/* rgb */ color: rgb(137, 123, 78);
/* oklch */ color: oklch(58.5% 0.065 92.8);
Tailwind
colors: {
  custom: {
    50: '#aca180',
    500: '#897b4e',
    950: '#000000',
  },
}
SCSS
$custom: #897b4e;
$custom-light: #aca180;
$custom-dark: #000000;
JSON
{
  "hex": "#897b4e",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 45.763,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58471,
    "c": 0.06498,
    "h": 92.8
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#897B4E
secondary
#868FAD
accent
#7BC464
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100E0A
muted
#7F7E7C

Preview Lab

Preview with #897B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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