#8E881E#8E881E

#8E881E is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.121 H 106.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8E881E
RGBrgb(142, 136, 30)
HSLhsl(57, 65%, 34%)
HSVhsv(57, 79%, 56%)
CMYKcmyk(0%, 4.2%, 78.9%, 44.3%)
CIE-LABlab(55.54, -9.99, 53.22)
CIE-LCHlch(55.54, 54.15, 100.63°)
OKLaboklab(61.33% -0.0334 0.1161)
OKLCHoklch(61.33% 0.121 106.1)
XYZxyz(20.1947, 23.4536, 4.6913)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E881E #1E248E
analogous
#8E501E #8E881E #5C8E1E
triadic
#8E881E #1E8E88 #881E8E
tetradic
#8E881E #1E8E50 #1E248E #8E1E5C
square
#8E881E #1E8E50 #1E248E #8E1E5C
split-complementary
#8E881E #1E5C8E #501E8E
monochromatic
#292709 #5B5813 #8E881E #C1B829 #D9D24D

Accessibility & contrast

On white

3.69
#8E881E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8E881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E881E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E881E#FFFFFF#000000##000000
##8E881E1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#997E74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e881e;
/* rgb */ color: rgb(142, 136, 30);
/* oklch */ color: oklch(61.3% 0.121 106.1);
Tailwind
colors: {
  custom: {
    50: '#b3aa64',
    500: '#8e881e',
    950: '#000000',
  },
}
SCSS
$custom: #8e881e;
$custom-light: #b3aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#8e881e",
  "rgb": {
    "r": 142,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 56.786,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61327,
    "c": 0.1208,
    "h": 106.1
  },
  "luminance": 0.23453
}

Semantic roles & 50–950 ramp

primary
#8E881E
secondary
#4C52BC
accent
#49E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E881E

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

Preview Lab → · Contrast checker → · Palette generator →

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