#8E801D#8E801D

#8E801D is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.114 H 100.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8E801D
RGBrgb(142, 128, 29)
HSLhsl(53, 66%, 34%)
HSVhsv(53, 80%, 56%)
CMYKcmyk(0%, 9.9%, 79.6%, 44.3%)
CIE-LABlab(53.25, -5.65, 51.49)
CIE-LCHlch(53.25, 51.80, 96.27°)
OKLaboklab(59.51% -0.0214 0.1122)
OKLCHoklch(59.51% 0.114 100.8)
XYZxyz(19.0972, 21.2787, 4.2635)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E801D #1D2B8E
analogous
#8E471D #8E801D #638E1D
triadic
#8E801D #1D8E80 #801D8E
tetradic
#8E801D #1D8E47 #1D2B8E #8E1D63
square
#8E801D #1D8E47 #1D2B8E #8E1D63
split-complementary
#8E801D #1D638E #471D8E
monochromatic
#282408 #5B5213 #8E801D #C1AE27 #DAC94B

Accessibility & contrast

On white

4.00
#8E801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8E801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E801D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E801D#FFFFFF#000000##000000
##8E801D1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C05
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#9A766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e801d;
/* rgb */ color: rgb(142, 128, 29);
/* oklch */ color: oklch(59.5% 0.114 100.8);
Tailwind
colors: {
  custom: {
    50: '#b3a462',
    500: '#8e801d',
    950: '#000000',
  },
}
SCSS
$custom: #8e801d;
$custom-light: #b3a462;
$custom-dark: #000000;
JSON
{
  "hex": "#8e801d",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 52.566,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59509,
    "c": 0.11418,
    "h": 100.8
  },
  "luminance": 0.21278
}

Semantic roles & 50–950 ramp

primary
#8E801D
secondary
#4A58BD
accent
#54E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E801D

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

Preview Lab → · Contrast checker → · Palette generator →

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