#897D2F#897D2F

#897D2F is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.099 H 100.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#897D2F
RGBrgb(137, 125, 47)
HSLhsl(52, 49%, 36%)
HSVhsv(52, 66%, 54%)
CMYKcmyk(0%, 8.8%, 65.7%, 46.3%)
CIE-LABlab(52.05, -5.33, 42.83)
CIE-LCHlch(52.05, 43.16, 97.10°)
OKLaboklab(58.49% -0.0181 0.0974)
OKLCHoklch(58.49% 0.099 100.6)
XYZxyz(18.1640, 20.1916, 5.6294)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D2F #2F3B89
analogous
#89502F #897D2F #68892F
triadic
#897D2F #2F897D #7D2F89
tetradic
#897D2F #2F8950 #2F3B89 #892F68
square
#897D2F #2F8950 #2F3B89 #892F68
split-complementary
#897D2F #2F6889 #502F89
monochromatic
#2E2A10 #5B531F #897D2F #B7A73F #CBBE67

Accessibility & contrast

On white

4.17
#897D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#897D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D2F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D2F#FFFFFF#000000##000000
##897D2F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#93746D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d2f;
/* rgb */ color: rgb(137, 125, 47);
/* oklch */ color: oklch(58.5% 0.099 100.6);
Tailwind
colors: {
  custom: {
    50: '#aea26b',
    500: '#897d2f',
    950: '#000000',
  },
}
SCSS
$custom: #897d2f;
$custom-light: #aea26b;
$custom-dark: #000000;
JSON
{
  "hex": "#897d2f",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 52,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.09906,
    "h": 100.6
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#897D2F
secondary
#626CB2
accent
#62D84F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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