#8E851D#8E851D

#8E851D is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.119 H 104.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8E851D
RGBrgb(142, 133, 29)
HSLhsl(55, 66%, 34%)
HSVhsv(55, 80%, 56%)
CMYKcmyk(0%, 6.3%, 79.6%, 44.3%)
CIE-LABlab(54.67, -8.40, 52.77)
CIE-LCHlch(54.67, 53.44, 99.04°)
OKLaboklab(60.64% -0.0291 0.1149)
OKLCHoklch(60.64% 0.119 104.2)
XYZxyz(19.7655, 22.6154, 4.4862)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E851D #1D268E
analogous
#8E4C1D #8E851D #5E8E1D
triadic
#8E851D #1D8E85 #851D8E
tetradic
#8E851D #1D8E4C #1D268E #8E1D5E
square
#8E851D #1D8E4C #1D268E #8E1D5E
split-complementary
#8E851D #1D5E8E #4C1D8E
monochromatic
#282608 #5B5513 #8E851D #C1B527 #DACF4B

Accessibility & contrast

On white

3.80
#8E851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8E851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E851D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E851D#FFFFFF#000000##000000
##8E851D1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928002
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#997B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e851d;
/* rgb */ color: rgb(142, 133, 29);
/* oklch */ color: oklch(60.6% 0.119 104.2);
Tailwind
colors: {
  custom: {
    50: '#b3a863',
    500: '#8e851d',
    950: '#000000',
  },
}
SCSS
$custom: #8e851d;
$custom-light: #b3a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8e851d",
  "rgb": {
    "r": 142,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 55.221,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60639,
    "c": 0.11854,
    "h": 104.2
  },
  "luminance": 0.22615
}

Semantic roles & 50–950 ramp

primary
#8E851D
secondary
#4A53BD
accent
#4CE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E851D

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

Preview Lab → · Contrast checker → · Palette generator →

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