#866F18#866F18

#866F18 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.9% C 0.104 H 93.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#866F18
RGBrgb(134, 111, 24)
HSLhsl(47, 70%, 31%)
HSVhsv(47, 82%, 53%)
CMYKcmyk(0%, 17.2%, 82.1%, 47.5%)
CIE-LABlab(47.63, -0.03, 47.83)
CIE-LCHlch(47.63, 47.83, 90.03°)
OKLaboklab(54.86% -0.0055 0.1036)
OKLCHoklch(54.86% 0.104 93)
XYZxyz(15.6817, 16.5041, 3.2236)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F18 #182F86
analogous
#863818 #866F18 #668618
triadic
#866F18 #18866F #6F1886
tetradic
#866F18 #188638 #182F86 #861866
square
#866F18 #188638 #182F86 #861866
split-complementary
#866F18 #186686 #381886
monochromatic
#1E1905 #52440F #866F18 #BA9A21 #DCBB3C

Accessibility & contrast

On white

4.88
#866F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#866F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866F18
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866F18#FFFFFF#000000##FFFFFF
##866F181.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#92655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #866f18;
/* rgb */ color: rgb(134, 111, 24);
/* oklch */ color: oklch(54.9% 0.104 93.0);
Tailwind
colors: {
  custom: {
    50: '#ad985d',
    500: '#866f18',
    950: '#000000',
  },
}
SCSS
$custom: #866f18;
$custom-light: #ad985d;
$custom-dark: #000000;
JSON
{
  "hex": "#866f18",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 47.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54858,
    "c": 0.10379,
    "h": 93
  },
  "luminance": 0.16503
}

Semantic roles & 50–950 ramp

primary
#866F18
secondary
#4059BA
accent
#60EC3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866F18

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

Preview Lab → · Contrast checker → · Palette generator →

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