#866F23#866F23

#866F23 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.9% C 0.097 H 91.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#866F23
RGBrgb(134, 111, 35)
HSLhsl(46, 59%, 33%)
HSVhsv(46, 74%, 53%)
CMYKcmyk(0%, 17.2%, 73.9%, 47.5%)
CIE-LABlab(47.70, 0.47, 43.60)
CIE-LCHlch(47.70, 43.61, 89.38°)
OKLaboklab(54.94% -0.0028 0.097)
OKLCHoklch(54.94% 0.097 91.7)
XYZxyz(15.8202, 16.5595, 3.9528)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866F23 #233A86
analogous
#863E23 #866F23 #6B8623
triadic
#866F23 #23866F #6F2386
tetradic
#866F23 #23863E #233A86 #86236B
square
#866F23 #23863E #233A86 #86236B
split-complementary
#866F23 #236B86 #3E2386
monochromatic
#251F0A #554716 #866F23 #B79730 #D2B452

Accessibility & contrast

On white

4.87
#866F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#866F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #866F23
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866F23#FFFFFF#000000##FFFFFF
##866F231.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D18
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#916660
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #866f23;
/* rgb */ color: rgb(134, 111, 35);
/* oklch */ color: oklch(54.9% 0.097 91.7);
Tailwind
colors: {
  custom: {
    50: '#ad9863',
    500: '#866f23',
    950: '#000000',
  },
}
SCSS
$custom: #866f23;
$custom-light: #ad9863;
$custom-dark: #000000;
JSON
{
  "hex": "#866f23",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 46.061,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.09703,
    "h": 91.7
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#866F23
secondary
#4F67B5
accent
#6AE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #866F23

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

Preview Lab → · Contrast checker → · Palette generator →

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