#897A2A#897A2A

#897A2A is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.100 H 98.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#897A2A
RGBrgb(137, 122, 42)
HSLhsl(51, 53%, 35%)
HSVhsv(51, 69%, 54%)
CMYKcmyk(0%, 10.9%, 69.3%, 46.3%)
CIE-LABlab(51.16, -3.98, 44.15)
CIE-LCHlch(51.16, 44.33, 95.14°)
OKLaboklab(57.76% -0.0149 0.0994)
OKLCHoklch(57.76% 0.1 98.5)
XYZxyz(17.6948, 19.4054, 5.0036)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A2A #2A3989
analogous
#894A2A #897A2A #69892A
triadic
#897A2A #2A897A #7A2A89
tetradic
#897A2A #2A894A #2A3989 #892A69
square
#897A2A #2A894A #2A3989 #892A69
split-complementary
#897A2A #2A6989 #4A2A89
monochromatic
#2B270D #5A501C #897A2A #B8A438 #CEBD5F

Accessibility & contrast

On white

4.30
#897A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#897A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A2A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A2A#FFFFFF#000000##000000
##897A2A1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#94716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a2a;
/* rgb */ color: rgb(137, 122, 42);
/* oklch */ color: oklch(57.8% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#aea068',
    500: '#897a2a',
    950: '#000000',
  },
}
SCSS
$custom: #897a2a;
$custom-light: #aea068;
$custom-dark: #000000;
JSON
{
  "hex": "#897a2a",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 50.526,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.10047,
    "h": 98.5
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#897A2A
secondary
#5B69B4
accent
#62DC4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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