#8EA01C#8EA01C

#8EA01C is a light, vivid yellow. Relative luminance 0.310; OKLCH L 66.9% C 0.147 H 117.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8EA01C
RGBrgb(142, 160, 28)
HSLhsl(68, 70%, 37%)
HSVhsv(68, 83%, 63%)
CMYKcmyk(11.2%, 0%, 82.5%, 37.3%)
CIE-LABlab(62.49, -22.56, 60.00)
CIE-LCHlch(62.49, 64.10, 110.61°)
OKLaboklab(66.89% -0.0684 0.1302)
OKLCHoklch(66.89% 0.147 117.7)
XYZxyz(23.9363, 30.9765, 5.8165)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA01C #2E1CA0
analogous
#A0701C #8EA01C #4CA01C
triadic
#8EA01C #1C8EA0 #A01C8E
tetradic
#8EA01C #1CA070 #2E1CA0 #A01C4C
square
#8EA01C #1CA070 #2E1CA0 #A01C4C
split-complementary
#8EA01C #1C4CA0 #701CA0
monochromatic
#32380A #606C13 #8EA01C #BCD425 #CEE155

Accessibility & contrast

On white

2.92
#8EA01C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#8EA01C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA01C
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA01C#FFFFFF#000000##000000
##8EA01C1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A9982A
Tritanopia (blue-blind)
#979788
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ea01c;
/* rgb */ color: rgb(142, 160, 28);
/* oklch */ color: oklch(66.9% 0.147 117.7);
Tailwind
colors: {
  custom: {
    50: '#b3bc66',
    500: '#8ea01c',
    950: '#000000',
  },
}
SCSS
$custom: #8ea01c;
$custom-light: #b3bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea01c",
  "rgb": {
    "r": 142,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 68.182,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66893,
    "c": 0.14709,
    "h": 117.7
  },
  "luminance": 0.30976
}

Semantic roles & 50–950 ramp

primary
#8EA01C
secondary
#6353C4
accent
#3BED53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8EA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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