#897D2D#897D2D

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

Color values

HEX#897D2D
RGBrgb(137, 125, 45)
HSLhsl(52, 51%, 36%)
HSVhsv(52, 67%, 54%)
CMYKcmyk(0%, 8.8%, 67.2%, 46.3%)
CIE-LABlab(52.04, -5.46, 43.72)
CIE-LCHlch(52.04, 44.06, 97.12°)
OKLaboklab(58.47% -0.0188 0.099)
OKLCHoklch(58.47% 0.101 100.7)
XYZxyz(18.1246, 20.1758, 5.4217)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D2D #2D3989
analogous
#894F2D #897D2D #67892D
triadic
#897D2D #2D897D #7D2D89
tetradic
#897D2D #2D894F #2D3989 #892D67
square
#897D2D #2D894F #2D3989 #892D67
split-complementary
#897D2D #2D6789 #4F2D89
monochromatic
#2D290F #5B531E #897D2D #B7A73C #CCBF64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897D2D#FFFFFF#000000##000000
##897D2D1.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)
#897923
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#93746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d2d;
/* rgb */ color: rgb(137, 125, 45);
/* oklch */ color: oklch(58.5% 0.101 100.7);
Tailwind
colors: {
  custom: {
    50: '#aea26a',
    500: '#897d2d',
    950: '#000000',
  },
}
SCSS
$custom: #897d2d;
$custom-light: #aea26a;
$custom-dark: #000000;
JSON
{
  "hex": "#897d2d",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 52.174,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58465,
    "c": 0.10073,
    "h": 100.7
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#897D2D
secondary
#5F6AB3
accent
#60DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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