#8E851F#8E851F

#8E851F is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.7% C 0.117 H 104.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8E851F
RGBrgb(142, 133, 31)
HSLhsl(55, 64%, 34%)
HSVhsv(55, 78%, 56%)
CMYKcmyk(0%, 6.3%, 78.2%, 44.3%)
CIE-LABlab(54.68, -8.32, 52.11)
CIE-LCHlch(54.68, 52.77, 99.07°)
OKLaboklab(60.65% -0.0287 0.1139)
OKLCHoklch(60.65% 0.117 104.1)
XYZxyz(19.7911, 22.6256, 4.6207)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E851F #1F288E
analogous
#8E4E1F #8E851F #608E1F
triadic
#8E851F #1F8E85 #851F8E
tetradic
#8E851F #1F8E4E #1F288E #8E1F60
square
#8E851F #1F8E4E #1F288E #8E1F60
split-complementary
#8E851F #1F608E #4E1F8E
monochromatic
#2A2709 #5C5614 #8E851F #C0B42A #D9CD4F

Accessibility & contrast

On white

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

On black

5.53
#8E851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E851F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E851F#FFFFFF#000000##000000
##8E851F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e851f;
/* rgb */ color: rgb(142, 133, 31);
/* oklch */ color: oklch(60.7% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#b3a864',
    500: '#8e851f',
    950: '#000000',
  },
}
SCSS
$custom: #8e851f;
$custom-light: #b3a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8e851f",
  "rgb": {
    "r": 142,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 55.135,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60651,
    "c": 0.11745,
    "h": 104.1
  },
  "luminance": 0.22625
}

Semantic roles & 50–950 ramp

primary
#8E851F
secondary
#4D56BB
accent
#4EE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E851F

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

Preview Lab → · Contrast checker → · Palette generator →

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