#8E882C#8E882C

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

Color values

HEX#8E882C
RGBrgb(142, 136, 44)
HSLhsl(56, 53%, 36%)
HSVhsv(56, 69%, 56%)
CMYKcmyk(0%, 4.2%, 69%, 44.3%)
CIE-LABlab(55.63, -9.30, 48.02)
CIE-LCHlch(55.63, 48.91, 100.95°)
OKLaboklab(61.43% -0.0301 0.1077)
OKLCHoklch(61.43% 0.112 105.6)
XYZxyz(20.4149, 23.5417, 5.8510)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E882C #2C328E
analogous
#8E572C #8E882C #638E2C
triadic
#8E882C #2C8E88 #882C8E
tetradic
#8E882C #2C8E57 #2C328E #8E2C63
square
#8E882C #2C8E57 #2C328E #8E2C63
split-complementary
#8E882C #2C638E #572C8E
monochromatic
#312F0F #5F5B1E #8E882C #BDB53A #CFC965

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E882C#FFFFFF#000000##000000
##8E882C1.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)
#94831F
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e882c;
/* rgb */ color: rgb(142, 136, 44);
/* oklch */ color: oklch(61.4% 0.112 105.6);
Tailwind
colors: {
  custom: {
    50: '#b2aa6b',
    500: '#8e882c',
    950: '#000000',
  },
}
SCSS
$custom: #8e882c;
$custom-light: #b2aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e882c",
  "rgb": {
    "r": 142,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 56.327,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61427,
    "c": 0.11183,
    "h": 105.6
  },
  "luminance": 0.23541
}

Semantic roles & 50–950 ramp

primary
#8E882C
secondary
#6065B6
accent
#55DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E882C

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

Preview Lab → · Contrast checker → · Palette generator →

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