#897D32#897D32

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

Color values

HEX#897D32
RGBrgb(137, 125, 50)
HSLhsl(52, 47%, 37%)
HSVhsv(52, 64%, 54%)
CMYKcmyk(0%, 8.8%, 63.5%, 46.3%)
CIE-LABlab(52.08, -5.12, 41.45)
CIE-LCHlch(52.08, 41.76, 97.04°)
OKLaboklab(58.52% -0.0172 0.0949)
OKLCHoklch(58.52% 0.096 100.3)
XYZxyz(18.2266, 20.2166, 5.9591)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D32 #323E89
analogous
#895232 #897D32 #6A8932
triadic
#897D32 #32897D #7D3289
tetradic
#897D32 #328952 #323E89 #89326A
square
#897D32 #328952 #323E89 #89326A
split-complementary
#897D32 #326A89 #523289
monochromatic
#2F2B11 #5C5422 #897D32 #B6A642 #C9BC6C

Accessibility & contrast

On white

4.16
#897D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##897D32#FFFFFF#000000##000000
##897D321.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A2A
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#93746D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d32;
/* rgb */ color: rgb(137, 125, 50);
/* oklch */ color: oklch(58.5% 0.096 100.3);
Tailwind
colors: {
  custom: {
    50: '#aea26d',
    500: '#897d32',
    950: '#000000',
  },
}
SCSS
$custom: #897d32;
$custom-light: #aea26d;
$custom-dark: #000000;
JSON
{
  "hex": "#897d32",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 51.724,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.09647,
    "h": 100.3
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#897D32
secondary
#6670B1
accent
#64D652
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D32

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

Preview Lab → · Contrast checker → · Palette generator →

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