#8E882A#8E882A

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

Color values

HEX#8E882A
RGBrgb(142, 136, 42)
HSLhsl(56, 54%, 36%)
HSVhsv(56, 70%, 56%)
CMYKcmyk(0%, 4.2%, 70.4%, 44.3%)
CIE-LABlab(55.61, -9.41, 48.84)
CIE-LCHlch(55.61, 49.73, 100.91°)
OKLaboklab(61.41% -0.0306 0.1091)
OKLCHoklch(61.41% 0.113 105.7)
XYZxyz(20.3782, 23.5270, 5.6578)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E882A #2A308E
analogous
#8E562A #8E882A #628E2A
triadic
#8E882A #2A8E88 #882A8E
tetradic
#8E882A #2A8E56 #2A308E #8E2A62
square
#8E882A #2A8E56 #2A308E #8E2A62
split-complementary
#8E882A #2A628E #562A8E
monochromatic
#302E0E #5F5B1C #8E882A #BDB538 #D1CA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E882A#FFFFFF#000000##000000
##8E882A1.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)
#94831C
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e882a;
/* rgb */ color: rgb(142, 136, 42);
/* oklch */ color: oklch(61.4% 0.113 105.7);
Tailwind
colors: {
  custom: {
    50: '#b2aa6a',
    500: '#8e882a',
    950: '#000000',
  },
}
SCSS
$custom: #8e882a;
$custom-light: #b2aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e882a",
  "rgb": {
    "r": 142,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 56.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.11329,
    "h": 105.7
  },
  "luminance": 0.23526
}

Semantic roles & 50–950 ramp

primary
#8E882A
secondary
#5D63B6
accent
#53DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E882A

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

Preview Lab → · Contrast checker → · Palette generator →

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