#8EA015#8EA015

#8EA015 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 66.9% C 0.150 H 117.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8EA015
RGBrgb(142, 160, 21)
HSLhsl(68, 77%, 35%)
HSVhsv(68, 87%, 63%)
CMYKcmyk(11.2%, 0%, 86.9%, 37.3%)
CIE-LABlab(62.46, -22.78, 61.68)
CIE-LCHlch(62.46, 65.75, 110.27°)
OKLaboklab(66.86% -0.0694 0.1327)
OKLCHoklch(66.86% 0.15 117.6)
XYZxyz(23.8621, 30.9468, 5.4256)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA015 #2715A0
analogous
#A06C15 #8EA015 #48A015
triadic
#8EA015 #158EA0 #A0158E
tetradic
#8EA015 #15A06C #2715A0 #A01548
square
#8EA015 #15A06C #2715A0 #A01548
split-complementary
#8EA015 #1548A0 #6C15A0
monochromatic
#2E3407 #5E6A0E #8EA015 #BED61C #D2E748

Accessibility & contrast

On white

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

On black

7.19
#8EA015 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA015
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA015#FFFFFF#000000##000000
##8EA0151.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ea015;
/* rgb */ color: rgb(142, 160, 21);
/* oklch */ color: oklch(66.9% 0.150 117.6);
Tailwind
colors: {
  custom: {
    50: '#b3bc64',
    500: '#8ea015',
    950: '#000000',
  },
}
SCSS
$custom: #8ea015;
$custom-light: #b3bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea015",
  "rgb": {
    "r": 142,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 67.77,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66864,
    "c": 0.14976,
    "h": 117.6
  },
  "luminance": 0.30947
}

Semantic roles & 50–950 ramp

primary
#8EA015
secondary
#5949C8
accent
#34F34D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8EA015

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

Preview Lab → · Contrast checker → · Palette generator →

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