#896F18#896F18

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

Color values

HEX#896F18
RGBrgb(137, 111, 24)
HSLhsl(46, 70%, 32%)
HSVhsv(46, 82%, 54%)
CMYKcmyk(0%, 19%, 82.5%, 46.3%)
CIE-LABlab(47.95, 1.39, 48.24)
CIE-LCHlch(47.95, 48.26, 88.35°)
OKLaboklab(55.18% -0.0016 0.1044)
OKLCHoklch(55.18% 0.104 90.9)
XYZxyz(16.1668, 16.7542, 3.2464)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896F18 #183289
analogous
#893718 #896F18 #6B8918
triadic
#896F18 #18896F #6F1889
tetradic
#896F18 #188937 #183289 #89186B
square
#896F18 #188937 #183289 #89186B
split-complementary
#896F18 #186B89 #371889
monochromatic
#211B06 #55450F #896F18 #BD9921 #DDB93E

Accessibility & contrast

On white

4.83
#896F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#896F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #896F18
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##896F18#FFFFFF#000000##FFFFFF
##896F181.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#95655F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #896f18;
/* rgb */ color: rgb(137, 111, 24);
/* oklch */ color: oklch(55.2% 0.104 90.9);
Tailwind
colors: {
  custom: {
    50: '#af985d',
    500: '#896f18',
    950: '#000000',
  },
}
SCSS
$custom: #896f18;
$custom-light: #af985d;
$custom-dark: #000000;
JSON
{
  "hex": "#896f18",
  "rgb": {
    "r": 137,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 46.195,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55185,
    "c": 0.10437,
    "h": 90.9
  },
  "luminance": 0.16753
}

Semantic roles & 50–950 ramp

primary
#896F18
secondary
#405DBD
accent
#64ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #896F18

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

Preview Lab → · Contrast checker → · Palette generator →

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