#897D49#897D49

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

Color values

HEX#897D49
RGBrgb(137, 125, 73)
HSLhsl(49, 30%, 41%)
HSVhsv(49, 47%, 54%)
CMYKcmyk(0%, 8.8%, 46.7%, 46.3%)
CIE-LABlab(52.36, -3.06, 29.91)
CIE-LCHlch(52.36, 30.07, 95.85°)
OKLaboklab(58.83% -0.0085 0.0722)
OKLCHoklch(58.83% 0.073 96.7)
XYZxyz(18.8532, 20.4673, 9.2595)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D49 #495589
analogous
#895D49 #897D49 #758949
triadic
#897D49 #49897D #7D4989
tetradic
#897D49 #49895D #495589 #894975
square
#897D49 #49895D #495589 #894975
split-complementary
#897D49 #497589 #5D4989
monochromatic
#39341E #615934 #897D49 #AC9E63 #C1B78B

Accessibility & contrast

On white

4.12
#897D49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##897D49#FFFFFF#000000##000000
##897D491.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B45
Deuteranopia (green-blind)
#8A7F4B
Tritanopia (blue-blind)
#927670
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897d49;
/* rgb */ color: rgb(137, 125, 73);
/* oklch */ color: oklch(58.8% 0.073 96.7);
Tailwind
colors: {
  custom: {
    50: '#ada27d',
    500: '#897d49',
    950: '#000000',
  },
}
SCSS
$custom: #897d49;
$custom-light: #ada27d;
$custom-dark: #000000;
JSON
{
  "hex": "#897d49",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 73
  },
  "hsl": {
    "h": 48.75,
    "s": 30.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.07274,
    "h": 96.7
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

primary
#897D49
secondary
#8189AD
accent
#74C761
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100F09
muted
#7F7E7B

Preview Lab

Preview with #897D49

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

Preview Lab → · Contrast checker → · Palette generator →

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