#8DAF40#8DAF40

#8DAF40 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.6% C 0.143 H 124.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8DAF40
RGBrgb(141, 175, 64)
HSLhsl(78, 46%, 47%)
HSVhsv(78, 63%, 69%)
CMYKcmyk(19.4%, 0%, 63.4%, 31.4%)
CIE-LABlab(67.05, -28.30, 51.48)
CIE-LCHlch(67.05, 58.74, 118.80°)
OKLaboklab(70.62% -0.0811 0.118)
OKLCHoklch(70.62% 0.143 124.5)
XYZxyz(27.2400, 36.6926, 10.4968)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DAF40 #6240AF
analogous
#AF9A40 #8DAF40 #56AF40
triadic
#8DAF40 #408DAF #AF408D
tetradic
#8DAF40 #40AF9A #6240AF #AF4056
square
#8DAF40 #40AF9A #6240AF #AF4056
split-complementary
#8DAF40 #4056AF #9A40AF
monochromatic
#45551F #698230 #8DAF40 #A9C765 #C2D792

Accessibility & contrast

On white

2.52
#8DAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#8DAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DAF40
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DAF40#FFFFFF#000000##000000
##8DAF401.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#B4A348
Tritanopia (blue-blind)
#93A798
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8daf40;
/* rgb */ color: rgb(141, 175, 64);
/* oklch */ color: oklch(70.6% 0.143 124.5);
Tailwind
colors: {
  custom: {
    50: '#b1c77a',
    500: '#8daf40',
    950: '#000000',
  },
}
SCSS
$custom: #8daf40;
$custom-light: #b1c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#8daf40",
  "rgb": {
    "r": 141,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 78.378,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70622,
    "c": 0.1432,
    "h": 124.5
  },
  "luminance": 0.36693
}

Semantic roles & 50–950 ramp

primary
#8DAF40
secondary
#9A88C3
accent
#52D67A
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8DAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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