#896F20#896F20

#896F20 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.2% C 0.100 H 89.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#896F20
RGBrgb(137, 111, 32)
HSLhsl(45, 62%, 33%)
HSVhsv(45, 77%, 54%)
CMYKcmyk(0%, 19%, 76.6%, 46.3%)
CIE-LABlab(48.00, 1.73, 45.26)
CIE-LCHlch(48.00, 45.30, 87.81°)
OKLaboklab(55.24% 0.0002 0.0998)
OKLCHoklch(55.24% 0.1 89.9)
XYZxyz(16.2626, 16.7926, 3.7509)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896F20 #203A89
analogous
#893A20 #896F20 #6E8920
triadic
#896F20 #20896F #6F2089
tetradic
#896F20 #20893A #203A89 #89206E
square
#896F20 #20893A #203A89 #89206E
split-complementary
#896F20 #206E89 #3A2089
monochromatic
#261F09 #574714 #896F20 #BB972C #D6B44E

Accessibility & contrast

On white

4.82
#896F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#896F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #896F20
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##896F20#FFFFFF#000000##FFFFFF
##896F201.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E13
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#95655F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #896f20;
/* rgb */ color: rgb(137, 111, 32);
/* oklch */ color: oklch(55.2% 0.100 89.9);
Tailwind
colors: {
  custom: {
    50: '#af9861',
    500: '#896f20',
    950: '#000000',
  },
}
SCSS
$custom: #896f20;
$custom-light: #af9861;
$custom-dark: #000000;
JSON
{
  "hex": "#896f20",
  "rgb": {
    "r": 137,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 45.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55239,
    "c": 0.09976,
    "h": 89.9
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#896F20
secondary
#4C67B9
accent
#6BE543
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #896F20

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

Preview Lab → · Contrast checker → · Palette generator →

#896F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva