#866D22#866D22

#866D22 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.5% C 0.097 H 89.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#866D22
RGBrgb(134, 109, 34)
HSLhsl(45, 60%, 33%)
HSVhsv(45, 75%, 53%)
CMYKcmyk(0%, 18.7%, 74.6%, 47.5%)
CIE-LABlab(47.13, 1.57, 43.47)
CIE-LCHlch(47.13, 43.50, 87.94°)
OKLaboklab(54.49% 0.0002 0.0965)
OKLCHoklch(54.49% 0.097 89.9)
XYZxyz(15.5898, 16.1221, 3.8038)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866D22 #223B86
analogous
#863B22 #866D22 #6D8622
triadic
#866D22 #22866D #6D2286
tetradic
#866D22 #22863B #223B86 #86226D
square
#866D22 #22863B #223B86 #86226D
split-complementary
#866D22 #226D86 #3B2286
monochromatic
#241E09 #554516 #866D22 #B7952E #D3B250

Accessibility & contrast

On white

4.97
#866D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#866D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866D22
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866D22#FFFFFF#000000##FFFFFF
##866D221.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C17
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#91635E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866d22;
/* rgb */ color: rgb(134, 109, 34);
/* oklch */ color: oklch(54.5% 0.097 89.9);
Tailwind
colors: {
  custom: {
    50: '#ad9662',
    500: '#866d22',
    950: '#000000',
  },
}
SCSS
$custom: #866d22;
$custom-light: #ad9662;
$custom-dark: #000000;
JSON
{
  "hex": "#866d22",
  "rgb": {
    "r": 134,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 45,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.09651,
    "h": 89.9
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#866D22
secondary
#4E68B6
accent
#6DE345
background
#FBF9F6
surface
#F6F1EB
border
#D0CBC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #866D22

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

Preview Lab → · Contrast checker → · Palette generator →

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