#8E801A#8E801A

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

Color values

HEX#8E801A
RGBrgb(142, 128, 26)
HSLhsl(53, 69%, 33%)
HSVhsv(53, 82%, 56%)
CMYKcmyk(0%, 9.9%, 81.7%, 44.3%)
CIE-LABlab(53.24, -5.77, 52.46)
CIE-LCHlch(53.24, 52.78, 96.27°)
OKLaboklab(59.49% -0.022 0.1136)
OKLCHoklch(59.49% 0.116 100.9)
XYZxyz(19.0619, 21.2646, 4.0775)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E801A #1A288E
analogous
#8E461A #8E801A #628E1A
triadic
#8E801A #1A8E80 #801A8E
tetradic
#8E801A #1A8E46 #1A288E #8E1A62
square
#8E801A #1A8E46 #1A288E #8E1A62
split-complementary
#8E801A #1A628E #461A8E
monochromatic
#272307 #5A5111 #8E801A #C2AF23 #DDCB45

Accessibility & contrast

On white

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

On black

5.25
#8E801A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E801A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E801A#FFFFFF#000000##000000
##8E801A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e801a;
/* rgb */ color: rgb(142, 128, 26);
/* oklch */ color: oklch(59.5% 0.116 100.9);
Tailwind
colors: {
  custom: {
    50: '#b3a461',
    500: '#8e801a',
    950: '#000000',
  },
}
SCSS
$custom: #8e801a;
$custom-light: #b3a461;
$custom-dark: #000000;
JSON
{
  "hex": "#8e801a",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 52.759,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.11573,
    "h": 100.9
  },
  "luminance": 0.21264
}

Semantic roles & 50–950 ramp

primary
#8E801A
secondary
#4554BE
accent
#51EC3C
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E801A

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

Preview Lab → · Contrast checker → · Palette generator →

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