#866B19#866B19

#866B19 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 54.0% C 0.101 H 89.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#866B19
RGBrgb(134, 107, 25)
HSLhsl(45, 69%, 31%)
HSVhsv(45, 81%, 53%)
CMYKcmyk(0%, 20.1%, 81.3%, 47.5%)
CIE-LABlab(46.52, 2.31, 46.48)
CIE-LCHlch(46.52, 46.53, 87.15°)
OKLaboklab(53.98% 0.0013 0.101)
OKLCHoklch(53.98% 0.101 89.3)
XYZxyz(15.2656, 15.6549, 3.1372)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866B19 #193486
analogous
#863519 #866B19 #6A8619
triadic
#866B19 #19866B #6B1986
tetradic
#866B19 #198635 #193486 #86196A
square
#866B19 #198635 #193486 #86196A
split-complementary
#866B19 #196A86 #351986
monochromatic
#1F1906 #52420F #866B19 #BA9423 #DBB43E

Accessibility & contrast

On white

5.08
#866B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#866B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866B19
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866B19#FFFFFF#000000##FFFFFF
##866B191.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A07
Deuteranopia (green-blind)
#7F711E
Tritanopia (blue-blind)
#92615B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #866b19;
/* rgb */ color: rgb(134, 107, 25);
/* oklch */ color: oklch(54.0% 0.101 89.3);
Tailwind
colors: {
  custom: {
    50: '#ad955d',
    500: '#866b19',
    950: '#000000',
  },
}
SCSS
$custom: #866b19;
$custom-light: #ad955d;
$custom-dark: #000000;
JSON
{
  "hex": "#866b19",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 25
  },
  "hsl": {
    "h": 45.138,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.10096,
    "h": 89.3
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#866B19
secondary
#415FBA
accent
#68EB3C
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866B19

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

Preview Lab → · Contrast checker → · Palette generator →

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