#897A1D#897A1D

#897A1D is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.109 H 99.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#897A1D
RGBrgb(137, 122, 29)
HSLhsl(52, 65%, 33%)
HSVhsv(52, 79%, 54%)
CMYKcmyk(0%, 10.9%, 78.8%, 46.3%)
CIE-LABlab(51.07, -4.64, 49.31)
CIE-LCHlch(51.07, 49.53, 95.38°)
OKLaboklab(57.66% -0.0182 0.1077)
OKLCHoklch(57.66% 0.109 99.6)
XYZxyz(17.4987, 19.3270, 3.9709)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A1D #1D2C89
analogous
#89441D #897A1D #62891D
triadic
#897A1D #1D897A #7A1D89
tetradic
#897A1D #1D8944 #1D2C89 #891D62
square
#897A1D #1D8944 #1D2C89 #891D62
split-complementary
#897A1D #1D6289 #441D89
monochromatic
#242008 #564D12 #897A1D #BCA728 #D8C448

Accessibility & contrast

On white

4.32
#897A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#897A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A1D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A1D#FFFFFF#000000##000000
##897A1D1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877709
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a1d;
/* rgb */ color: rgb(137, 122, 29);
/* oklch */ color: oklch(57.7% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#afa061',
    500: '#897a1d',
    950: '#000000',
  },
}
SCSS
$custom: #897a1d;
$custom-light: #afa061;
$custom-dark: #000000;
JSON
{
  "hex": "#897a1d",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 51.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.10927,
    "h": 99.6
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

primary
#897A1D
secondary
#4757BA
accent
#57E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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