#8E851E#8E851E

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

Color values

HEX#8E851E
RGBrgb(142, 133, 30)
HSLhsl(55, 65%, 34%)
HSVhsv(55, 79%, 56%)
CMYKcmyk(0%, 6.3%, 78.9%, 44.3%)
CIE-LABlab(54.68, -8.36, 52.45)
CIE-LCHlch(54.68, 53.11, 99.06°)
OKLaboklab(60.65% -0.0289 0.1144)
OKLCHoklch(60.65% 0.118 104.2)
XYZxyz(19.7781, 22.6204, 4.5524)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E851E #1E278E
analogous
#8E4D1E #8E851E #5F8E1E
triadic
#8E851E #1E8E85 #851E8E
tetradic
#8E851E #1E8E4D #1E278E #8E1E5F
square
#8E851E #1E8E4D #1E278E #8E1E5F
split-complementary
#8E851E #1E5F8E #4D1E8E
monochromatic
#292609 #5B5613 #8E851E #C1B429 #D9CE4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E851E#FFFFFF#000000##000000
##8E851E1.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)
#928004
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#997B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e851e;
/* rgb */ color: rgb(142, 133, 30);
/* oklch */ color: oklch(60.6% 0.118 104.2);
Tailwind
colors: {
  custom: {
    50: '#b3a863',
    500: '#8e851e',
    950: '#000000',
  },
}
SCSS
$custom: #8e851e;
$custom-light: #b3a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8e851e",
  "rgb": {
    "r": 142,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 55.179,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.118,
    "h": 104.2
  },
  "luminance": 0.2262
}

Semantic roles & 50–950 ramp

primary
#8E851E
secondary
#4C55BC
accent
#4DE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E851E

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

Preview Lab → · Contrast checker → · Palette generator →

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