#897A4B#897A4B

#897A4B is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.2% C 0.068 H 92.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#897A4B
RGBrgb(137, 122, 75)
HSLhsl(45, 29%, 42%)
HSVhsv(45, 45%, 54%)
CMYKcmyk(0%, 10.9%, 45.3%, 46.3%)
CIE-LABlab(51.55, -1.15, 27.79)
CIE-LCHlch(51.55, 27.81, 92.37°)
OKLaboklab(58.2% -0.0028 0.0676)
OKLCHoklch(58.2% 0.068 92.3)
XYZxyz(18.5466, 19.7461, 9.4897)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A4B #4B5A89
analogous
#895B4B #897A4B #79894B
triadic
#897A4B #4B897A #7A4B89
tetradic
#897A4B #4B895B #4B5A89 #894B79
square
#897A4B #4B895B #4B5A89 #894B79
split-complementary
#897A4B #4B7989 #5B4B89
monochromatic
#3A3420 #615735 #897A4B #AB9A66 #C1B48E

Accessibility & contrast

On white

4.24
#897A4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#897A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A4B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A4B#FFFFFF#000000##000000
##897A4B1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837847
Deuteranopia (green-blind)
#877D4D
Tritanopia (blue-blind)
#92736E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897a4b;
/* rgb */ color: rgb(137, 122, 75);
/* oklch */ color: oklch(58.2% 0.068 92.3);
Tailwind
colors: {
  custom: {
    50: '#ada07e',
    500: '#897a4b',
    950: '#000000',
  },
}
SCSS
$custom: #897a4b;
$custom-light: #ada07e;
$custom-dark: #000000;
JSON
{
  "hex": "#897a4b",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 75
  },
  "hsl": {
    "h": 45.484,
    "s": 29.245,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.06764,
    "h": 92.3
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#897A4B
secondary
#838DAD
accent
#7AC662
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100E0A
muted
#7F7E7C

Preview Lab

Preview with #897A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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