#866E18#866E18

#866E18 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.103 H 92.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#866E18
RGBrgb(134, 110, 24)
HSLhsl(47, 70%, 31%)
HSVhsv(47, 82%, 53%)
CMYKcmyk(0%, 17.9%, 82.1%, 47.5%)
CIE-LABlab(47.35, 0.54, 47.58)
CIE-LCHlch(47.35, 47.59, 89.34°)
OKLaboklab(54.64% -0.0039 0.1031)
OKLCHoklch(54.64% 0.103 92.1)
XYZxyz(15.5732, 16.2871, 3.1874)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866E18 #183086
analogous
#863718 #866E18 #678618
triadic
#866E18 #18866E #6E1886
tetradic
#866E18 #188637 #183086 #861867
square
#866E18 #188637 #183086 #861867
split-complementary
#866E18 #186786 #371886
monochromatic
#1E1905 #52430F #866E18 #BA9921 #DCB93C

Accessibility & contrast

On white

4.93
#866E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#866E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866E18
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866E18#FFFFFF#000000##FFFFFF
##866E181.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#92645E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #866e18;
/* rgb */ color: rgb(134, 110, 24);
/* oklch */ color: oklch(54.6% 0.103 92.1);
Tailwind
colors: {
  custom: {
    50: '#ad975d',
    500: '#866e18',
    950: '#000000',
  },
}
SCSS
$custom: #866e18;
$custom-light: #ad975d;
$custom-dark: #000000;
JSON
{
  "hex": "#866e18",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 46.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54637,
    "c": 0.10317,
    "h": 92.1
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#866E18
secondary
#405BBA
accent
#62EC3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #866E18

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

Preview Lab → · Contrast checker → · Palette generator →

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