#897D46#897D46

#897D46 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.8% C 0.076 H 97.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#897D46
RGBrgb(137, 125, 70)
HSLhsl(49, 32%, 41%)
HSVhsv(49, 49%, 54%)
CMYKcmyk(0%, 8.8%, 48.9%, 46.3%)
CIE-LABlab(52.32, -3.38, 31.49)
CIE-LCHlch(52.32, 31.67, 96.12°)
OKLaboklab(58.78% -0.0097 0.0756)
OKLCHoklch(58.78% 0.076 97.4)
XYZxyz(18.7562, 20.4285, 8.7483)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D46 #465289
analogous
#895B46 #897D46 #738946
triadic
#897D46 #46897D #7D4689
tetradic
#897D46 #46895B #465289 #894673
square
#897D46 #46895B #465289 #894673
split-complementary
#897D46 #467389 #5B4689
monochromatic
#38331D #605831 #897D46 #AD9F5F #C2B787

Accessibility & contrast

On white

4.13
#897D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#897D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D46
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D46#FFFFFF#000000##000000
##897D461.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A41
Deuteranopia (green-blind)
#8A7F48
Tritanopia (blue-blind)
#927670
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897d46;
/* rgb */ color: rgb(137, 125, 70);
/* oklch */ color: oklch(58.8% 0.076 97.4);
Tailwind
colors: {
  custom: {
    50: '#ada27a',
    500: '#897d46',
    950: '#000000',
  },
}
SCSS
$custom: #897d46;
$custom-light: #ada27a;
$custom-dark: #000000;
JSON
{
  "hex": "#897d46",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 70
  },
  "hsl": {
    "h": 49.254,
    "s": 32.367,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5878,
    "c": 0.07618,
    "h": 97.4
  },
  "luminance": 0.20428
}

Semantic roles & 50–950 ramp

primary
#897D46
secondary
#7D86AD
accent
#72C95F
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100F09
muted
#7F7E7B

Preview Lab

Preview with #897D46

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

Preview Lab → · Contrast checker → · Palette generator →

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