#8E802D#8E802D

#8E802D is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.104 H 99.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8E802D
RGBrgb(142, 128, 45)
HSLhsl(51, 52%, 37%)
HSVhsv(51, 68%, 56%)
CMYKcmyk(0%, 9.9%, 68.3%, 44.3%)
CIE-LABlab(53.36, -4.84, 45.26)
CIE-LCHlch(53.36, 45.52, 96.11°)
OKLaboklab(59.63% -0.0173 0.1021)
OKLCHoklch(59.63% 0.104 99.6)
XYZxyz(19.3490, 21.3795, 5.5896)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E802D #2D3B8E
analogous
#8E502D #8E802D #6C8E2D
triadic
#8E802D #2D8E80 #802D8E
tetradic
#8E802D #2D8E50 #2D3B8E #8E2D6C
square
#8E802D #2D8E50 #2D3B8E #8E2D6C
split-complementary
#8E802D #2D6C8E #502D8E
monochromatic
#312C10 #60561E #8E802D #BCAA3C #CFC067

Accessibility & contrast

On white

3.98
#8E802D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8E802D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E802D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E802D#FFFFFF#000000##000000
##8E802D1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C22
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#99776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e802d;
/* rgb */ color: rgb(142, 128, 45);
/* oklch */ color: oklch(59.6% 0.104 99.6);
Tailwind
colors: {
  custom: {
    50: '#b2a46b',
    500: '#8e802d',
    950: '#000000',
  },
}
SCSS
$custom: #8e802d;
$custom-light: #b2a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e802d",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 51.34,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.10352,
    "h": 99.6
  },
  "luminance": 0.21379
}

Semantic roles & 50–950 ramp

primary
#8E802D
secondary
#616EB5
accent
#61DB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8E802D

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

Preview Lab → · Contrast checker → · Palette generator →

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