#8E6F11#8E6F11

#8E6F11 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.7% C 0.109 H 88.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8E6F11
RGBrgb(142, 111, 17)
HSLhsl(45, 79%, 31%)
HSVhsv(45, 88%, 56%)
CMYKcmyk(0%, 21.8%, 88%, 44.3%)
CIE-LABlab(48.46, 3.54, 51.07)
CIE-LCHlch(48.46, 51.19, 86.04°)
OKLaboklab(55.7% 0.0036 0.1087)
OKLCHoklch(55.7% 0.109 88.1)
XYZxyz(16.9421, 17.1613, 2.9503)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6F11 #11308E
analogous
#8E3011 #8E6F11 #6E8E11
triadic
#8E6F11 #118E6F #6F118E
tetradic
#8E6F11 #118E30 #11308E #8E116E
square
#8E6F11 #118E30 #11308E #8E116E
split-complementary
#8E6F11 #116E8E #30118E
monochromatic
#211A04 #57440A #8E6F11 #C59A18 #E7BA33

Accessibility & contrast

On white

4.74
#8E6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8E6F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E6F11
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6F11#FFFFFF#000000##FFFFFF
##8E6F111.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#857718
Tritanopia (blue-blind)
#9B645E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e6f11;
/* rgb */ color: rgb(142, 111, 17);
/* oklch */ color: oklch(55.7% 0.109 88.1);
Tailwind
colors: {
  custom: {
    50: '#b4985b',
    500: '#8e6f11',
    950: '#000000',
  },
}
SCSS
$custom: #8e6f11;
$custom-light: #b4985b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6f11",
  "rgb": {
    "r": 142,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 45.12,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.10871,
    "h": 88.1
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#8E6F11
secondary
#385BC2
accent
#63F533
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120D04
muted
#817E79

Preview Lab

Preview with #8E6F11

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

Preview Lab → · Contrast checker → · Palette generator →

#8E6F11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva