#897D2C#897D2C

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

Color values

HEX#897D2C
RGBrgb(137, 125, 44)
HSLhsl(52, 51%, 35%)
HSVhsv(52, 68%, 54%)
CMYKcmyk(0%, 8.8%, 67.9%, 46.3%)
CIE-LABlab(52.03, -5.53, 44.16)
CIE-LCHlch(52.03, 44.51, 97.13°)
OKLaboklab(58.46% -0.0191 0.0997)
OKLCHoklch(58.46% 0.102 100.8)
XYZxyz(18.1055, 20.1682, 5.3215)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D2C #2C3889
analogous
#894E2C #897D2C #66892C
triadic
#897D2C #2C897D #7D2C89
tetradic
#897D2C #2C894E #2C3889 #892C66
square
#897D2C #2C894E #2C3889 #892C66
split-complementary
#897D2C #2C6689 #4E2C89
monochromatic
#2C280E #5B531D #897D2C #B7A73B #CDBF63

Accessibility & contrast

On white

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

On black

5.03
#897D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D2C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D2C#FFFFFF#000000##000000
##897D2C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897922
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#93746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d2c;
/* rgb */ color: rgb(137, 125, 44);
/* oklch */ color: oklch(58.5% 0.102 100.8);
Tailwind
colors: {
  custom: {
    50: '#aea26a',
    500: '#897d2c',
    950: '#000000',
  },
}
SCSS
$custom: #897d2c;
$custom-light: #aea26a;
$custom-dark: #000000;
JSON
{
  "hex": "#897d2c",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 52.258,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58455,
    "c": 0.10154,
    "h": 100.8
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#897D2C
secondary
#5E69B3
accent
#5FDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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