#8E901A#8E901A

#8E901A is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.1% C 0.131 H 110.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8E901A
RGBrgb(142, 144, 26)
HSLhsl(61, 69%, 33%)
HSVhsv(61, 82%, 56%)
CMYKcmyk(1.4%, 0%, 81.9%, 43.5%)
CIE-LABlab(57.82, -14.41, 56.48)
CIE-LCHlch(57.82, 58.29, 104.31°)
OKLaboklab(63.15% -0.0461 0.1223)
OKLCHoklch(63.15% 0.131 110.7)
XYZxyz(21.3158, 25.7725, 4.8288)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E901A #1C1A90
analogous
#90571A #8E901A #53901A
triadic
#8E901A #1A8E90 #901A8E
tetradic
#8E901A #1A9057 #1C1A90 #901A53
square
#8E901A #1A9057 #1C1A90 #901A53
split-complementary
#8E901A #1A5390 #571A90
monochromatic
#282807 #5B5C11 #8E901A #C1C423 #DBDE47

Accessibility & contrast

On white

3.41
#8E901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8E901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E901A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E901A#FFFFFF#000000##000000
##8E901A1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9D8C25
Tritanopia (blue-blind)
#99867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8e901a;
/* rgb */ color: rgb(142, 144, 26);
/* oklch */ color: oklch(63.1% 0.131 110.7);
Tailwind
colors: {
  custom: {
    50: '#b3b063',
    500: '#8e901a',
    950: '#000000',
  },
}
SCSS
$custom: #8e901a;
$custom-light: #b3b063;
$custom-dark: #000000;
JSON
{
  "hex": "#8e901a",
  "rgb": {
    "r": 142,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 61.017,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.63145,
    "c": 0.13069,
    "h": 110.7
  },
  "luminance": 0.25772
}

Semantic roles & 50–950 ramp

primary
#8E901A
secondary
#4947BF
accent
#3CEC3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E901A

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

Preview Lab → · Contrast checker → · Palette generator →

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