#897D2A#897D2A

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

Color values

HEX#897D2A
RGBrgb(137, 125, 42)
HSLhsl(52, 53%, 35%)
HSVhsv(52, 69%, 54%)
CMYKcmyk(0%, 8.8%, 69.3%, 46.3%)
CIE-LABlab(52.01, -5.65, 45.03)
CIE-LCHlch(52.01, 45.38, 97.15°)
OKLaboklab(58.44% -0.0196 0.1012)
OKLCHoklch(58.44% 0.103 101)
XYZxyz(18.0688, 20.1535, 5.1283)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D2A #2A3689
analogous
#894D2A #897D2A #66892A
triadic
#897D2A #2A897D #7D2A89
tetradic
#897D2A #2A894D #2A3689 #892A66
square
#897D2A #2A894D #2A3689 #892A66
split-complementary
#897D2A #2A6689 #4D2A89
monochromatic
#2B280D #5A521C #897D2A #B8A838 #CEC05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897D2A#FFFFFF#000000##000000
##897D2A1.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)
#89791F
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#94746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d2a;
/* rgb */ color: rgb(137, 125, 42);
/* oklch */ color: oklch(58.4% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#aea268',
    500: '#897d2a',
    950: '#000000',
  },
}
SCSS
$custom: #897d2a;
$custom-light: #aea268;
$custom-dark: #000000;
JSON
{
  "hex": "#897d2a",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 52.421,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58437,
    "c": 0.10311,
    "h": 101
  },
  "luminance": 0.20153
}

Semantic roles & 50–950 ramp

primary
#897D2A
secondary
#5B66B4
accent
#5EDC4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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