#896E1B#896E1B

#896E1B is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 55.0% C 0.102 H 89.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#896E1B
RGBrgb(137, 110, 27)
HSLhsl(45, 67%, 32%)
HSVhsv(45, 80%, 54%)
CMYKcmyk(0%, 19.7%, 80.3%, 46.3%)
CIE-LABlab(47.69, 2.08, 46.93)
CIE-LCHlch(47.69, 46.97, 87.46°)
OKLaboklab(54.98% 0.0007 0.1022)
OKLCHoklch(54.98% 0.102 89.6)
XYZxyz(16.0913, 16.5504, 3.3837)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896E1B #1B3689
analogous
#89371B #896E1B #6D891B
triadic
#896E1B #1B896E #6E1B89
tetradic
#896E1B #1B8937 #1B3689 #891B6D
square
#896E1B #1B8937 #1B3689 #891B6D
split-complementary
#896E1B #1B6D89 #371B89
monochromatic
#231C07 #564511 #896E1B #BC9725 #DAB544

Accessibility & contrast

On white

4.87
#896E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#896E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #896E1B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##896E1B#FFFFFF#000000##FFFFFF
##896E1B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0A
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#95645E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #896e1b;
/* rgb */ color: rgb(137, 110, 27);
/* oklch */ color: oklch(55.0% 0.102 89.6);
Tailwind
colors: {
  custom: {
    50: '#af975f',
    500: '#896e1b',
    950: '#000000',
  },
}
SCSS
$custom: #896e1b;
$custom-light: #af975f;
$custom-dark: #000000;
JSON
{
  "hex": "#896e1b",
  "rgb": {
    "r": 137,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 45.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54985,
    "c": 0.10221,
    "h": 89.6
  },
  "luminance": 0.16549
}

Semantic roles & 50–950 ramp

primary
#896E1B
secondary
#4462BC
accent
#68EA3E
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #896E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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