#897720#897720

#897720 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.0% C 0.105 H 97.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#897720
RGBrgb(137, 119, 32)
HSLhsl(50, 62%, 33%)
HSVhsv(50, 77%, 54%)
CMYKcmyk(0%, 13.1%, 76.6%, 46.3%)
CIE-LABlab(50.24, -2.83, 47.41)
CIE-LCHlch(50.24, 47.49, 93.41°)
OKLaboklab(57.01% -0.0128 0.1043)
OKLCHoklch(57.01% 0.105 97)
XYZxyz(17.1749, 18.6172, 4.0551)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897720 #203289
analogous
#894220 #897720 #668920
triadic
#897720 #208977 #772089
tetradic
#897720 #208942 #203289 #892066
square
#897720 #208942 #203289 #892066
split-complementary
#897720 #206689 #422089
monochromatic
#262109 #574C14 #897720 #BBA22C #D6BE4E

Accessibility & contrast

On white

4.45
#897720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#897720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897720
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897720#FFFFFF#000000##000000
##8977201.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847410
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#946D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897720;
/* rgb */ color: rgb(137, 119, 32);
/* oklch */ color: oklch(57.0% 0.105 97.0);
Tailwind
colors: {
  custom: {
    50: '#af9d62',
    500: '#897720',
    950: '#000000',
  },
}
SCSS
$custom: #897720;
$custom-light: #af9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#897720",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 49.714,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.1051,
    "h": 97
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#897720
secondary
#4C5FB9
accent
#5EE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897720

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

Preview Lab → · Contrast checker → · Palette generator →

#897720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva