#8EAF28#8EAF28

#8EAF28 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.5% C 0.159 H 122.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8EAF28
RGBrgb(142, 175, 40)
HSLhsl(75, 63%, 42%)
HSVhsv(75, 77%, 69%)
CMYKcmyk(18.9%, 0%, 77.1%, 31.4%)
CIE-LABlab(66.95, -29.39, 60.49)
CIE-LCHlch(66.95, 67.25, 115.91°)
OKLaboklab(70.51% -0.0862 0.1333)
OKLCHoklch(70.51% 0.159 122.9)
XYZxyz(26.8687, 36.5638, 7.6491)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAF28 #4928AF
analogous
#AF8D28 #8EAF28 #4AAF28
triadic
#8EAF28 #288EAF #AF288E
tetradic
#8EAF28 #28AF8D #4928AF #AF284A
square
#8EAF28 #28AF8D #4928AF #AF284A
split-complementary
#8EAF28 #284AAF #8D28AF
monochromatic
#3D4B11 #667D1D #8EAF28 #B0D441 #C4DF73

Accessibility & contrast

On white

2.53
#8EAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#8EAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAF28
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAF28#FFFFFF#000000##000000
##8EAF281.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A402
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#96A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8eaf28;
/* rgb */ color: rgb(142, 175, 40);
/* oklch */ color: oklch(70.5% 0.159 122.9);
Tailwind
colors: {
  custom: {
    50: '#b3c76d',
    500: '#8eaf28',
    950: '#000000',
  },
}
SCSS
$custom: #8eaf28;
$custom-light: #b3c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaf28",
  "rgb": {
    "r": 142,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 74.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70508,
    "c": 0.15876,
    "h": 122.9
  },
  "luminance": 0.36564
}

Semantic roles & 50–950 ramp

primary
#8EAF28
secondary
#836DC6
accent
#42E66A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8EAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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