#897D31#897D31

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

Color values

HEX#897D31
RGBrgb(137, 125, 49)
HSLhsl(52, 47%, 36%)
HSVhsv(52, 64%, 54%)
CMYKcmyk(0%, 8.8%, 64.2%, 46.3%)
CIE-LABlab(52.07, -5.19, 41.91)
CIE-LCHlch(52.07, 42.23, 97.06°)
OKLaboklab(58.51% -0.0175 0.0958)
OKLCHoklch(58.51% 0.097 100.4)
XYZxyz(18.2052, 20.2081, 5.8467)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D31 #313D89
analogous
#895131 #897D31 #698931
triadic
#897D31 #31897D #7D3189
tetradic
#897D31 #318951 #313D89 #893169
square
#897D31 #318951 #313D89 #893169
split-complementary
#897D31 #316989 #513189
monochromatic
#2F2B11 #5C5421 #897D31 #B6A641 #CABD6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897D31#FFFFFF#000000##000000
##897D311.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)
#887A28
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#93746D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d31;
/* rgb */ color: rgb(137, 125, 49);
/* oklch */ color: oklch(58.5% 0.097 100.4);
Tailwind
colors: {
  custom: {
    50: '#aea26d',
    500: '#897d31',
    950: '#000000',
  },
}
SCSS
$custom: #897d31;
$custom-light: #aea26d;
$custom-dark: #000000;
JSON
{
  "hex": "#897d31",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 51.818,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.09736,
    "h": 100.4
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#897D31
secondary
#646FB1
accent
#63D751
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D31

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

Preview Lab → · Contrast checker → · Palette generator →

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