#896F1F#896F1F

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

Color values

HEX#896F1F
RGBrgb(137, 111, 31)
HSLhsl(45, 63%, 33%)
HSVhsv(45, 77%, 54%)
CMYKcmyk(0%, 19%, 77.4%, 46.3%)
CIE-LABlab(47.99, 1.68, 45.66)
CIE-LCHlch(47.99, 45.69, 87.89°)
OKLaboklab(55.23% 0 0.1004)
OKLCHoklch(55.23% 0.1 90)
XYZxyz(16.2492, 16.7872, 3.6805)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896F1F #1F3989
analogous
#893A1F #896F1F #6E891F
triadic
#896F1F #1F896F #6F1F89
tetradic
#896F1F #1F893A #1F3989 #891F6E
square
#896F1F #1F893A #1F3989 #891F6E
split-complementary
#896F1F #1F6E89 #3A1F89
monochromatic
#251E08 #574714 #896F1F #BB972A #D6B44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##896F1F#FFFFFF#000000##FFFFFF
##896F1F1.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)
#7C6E11
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#95655F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #896f1f;
/* rgb */ color: rgb(137, 111, 31);
/* oklch */ color: oklch(55.2% 0.100 90.0);
Tailwind
colors: {
  custom: {
    50: '#af9861',
    500: '#896f1f',
    950: '#000000',
  },
}
SCSS
$custom: #896f1f;
$custom-light: #af9861;
$custom-dark: #000000;
JSON
{
  "hex": "#896f1f",
  "rgb": {
    "r": 137,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 45.283,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55231,
    "c": 0.10039,
    "h": 90
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#896F1F
secondary
#4B66B9
accent
#6AE642
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #896F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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