#8E882E#8E882E

#8E882E is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.110 H 105.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8E882E
RGBrgb(142, 136, 46)
HSLhsl(56, 51%, 37%)
HSVhsv(56, 68%, 56%)
CMYKcmyk(0%, 4.2%, 67.6%, 44.3%)
CIE-LABlab(55.64, -9.17, 47.19)
CIE-LCHlch(55.64, 48.07, 101.00°)
OKLaboklab(61.45% -0.0295 0.1063)
OKLCHoklch(61.45% 0.11 105.5)
XYZxyz(20.4534, 23.5571, 6.0538)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E882E #2E348E
analogous
#8E582E #8E882E #648E2E
triadic
#8E882E #2E8E88 #882E8E
tetradic
#8E882E #2E8E58 #2E348E #8E2E64
square
#8E882E #2E8E58 #2E348E #8E2E64
split-complementary
#8E882E #2E648E #582E8E
monochromatic
#322F10 #605C1F #8E882E #BCB43D #CEC868

Accessibility & contrast

On white

3.68
#8E882E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8E882E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E882E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E882E#FFFFFF#000000##000000
##8E882E1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#987F76
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e882e;
/* rgb */ color: rgb(142, 136, 46);
/* oklch */ color: oklch(61.4% 0.110 105.5);
Tailwind
colors: {
  custom: {
    50: '#b2aa6c',
    500: '#8e882e',
    950: '#000000',
  },
}
SCSS
$custom: #8e882e;
$custom-light: #b2aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e882e",
  "rgb": {
    "r": 142,
    "g": 136,
    "b": 46
  },
  "hsl": {
    "h": 56.25,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.11031,
    "h": 105.5
  },
  "luminance": 0.23556
}

Semantic roles & 50–950 ramp

primary
#8E882E
secondary
#6368B5
accent
#56DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E882E

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

Preview Lab → · Contrast checker → · Palette generator →

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