#8E882D#8E882D

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

Color values

HEX#8E882D
RGBrgb(142, 136, 45)
HSLhsl(56, 52%, 37%)
HSVhsv(56, 68%, 56%)
CMYKcmyk(0%, 4.2%, 68.3%, 44.3%)
CIE-LABlab(55.63, -9.24, 47.61)
CIE-LCHlch(55.63, 48.49, 100.98°)
OKLaboklab(61.44% -0.0298 0.107)
OKLCHoklch(61.44% 0.111 105.6)
XYZxyz(20.4339, 23.5493, 5.9512)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E882D #2D338E
analogous
#8E582D #8E882D #648E2D
triadic
#8E882D #2D8E88 #882D8E
tetradic
#8E882D #2D8E58 #2D338E #8E2D64
square
#8E882D #2D8E58 #2D338E #8E2D64
split-complementary
#8E882D #2D648E #582D8E
monochromatic
#312F10 #605B1E #8E882D #BCB53C #CFC867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E882D#FFFFFF#000000##000000
##8E882D1.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)
#948320
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e882d;
/* rgb */ color: rgb(142, 136, 45);
/* oklch */ color: oklch(61.4% 0.111 105.6);
Tailwind
colors: {
  custom: {
    50: '#b2aa6b',
    500: '#8e882d',
    950: '#000000',
  },
}
SCSS
$custom: #8e882d;
$custom-light: #b2aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e882d",
  "rgb": {
    "r": 142,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 56.289,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.11108,
    "h": 105.6
  },
  "luminance": 0.23549
}

Semantic roles & 50–950 ramp

primary
#8E882D
secondary
#6167B5
accent
#55DB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E882D

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

Preview Lab → · Contrast checker → · Palette generator →

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