#8DAF28#8DAF28

#8DAF28 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.4% C 0.159 H 123.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8DAF28
RGBrgb(141, 175, 40)
HSLhsl(75, 63%, 42%)
HSVhsv(75, 77%, 69%)
CMYKcmyk(19.4%, 0%, 77.1%, 31.4%)
CIE-LABlab(66.88, -29.80, 60.40)
CIE-LCHlch(66.88, 67.35, 116.26°)
OKLaboklab(70.44% -0.0873 0.1332)
OKLCHoklch(70.44% 0.159 123.3)
XYZxyz(26.6978, 36.4757, 7.6411)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DAF28 #4A28AF
analogous
#AF8E28 #8DAF28 #4AAF28
triadic
#8DAF28 #288DAF #AF288D
tetradic
#8DAF28 #28AF8E #4A28AF #AF284A
square
#8DAF28 #28AF8E #4A28AF #AF284A
split-complementary
#8DAF28 #284AAF #8E28AF
monochromatic
#3D4B11 #657D1D #8DAF28 #AFD441 #C4DF73

Accessibility & contrast

On white

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

On black

8.30
#8DAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DAF28
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DAF28#FFFFFF#000000##000000
##8DAF281.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8daf28;
/* rgb */ color: rgb(141, 175, 40);
/* oklch */ color: oklch(70.4% 0.159 123.3);
Tailwind
colors: {
  custom: {
    50: '#b2c76d',
    500: '#8daf28',
    950: '#000000',
  },
}
SCSS
$custom: #8daf28;
$custom-light: #b2c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8daf28",
  "rgb": {
    "r": 141,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 75.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70437,
    "c": 0.15922,
    "h": 123.3
  },
  "luminance": 0.36476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8DAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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