#8DAF42#8DAF42

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

Color values

HEX#8DAF42
RGBrgb(141, 175, 66)
HSLhsl(79, 45%, 47%)
HSVhsv(79, 62%, 69%)
CMYKcmyk(19.4%, 0%, 62.3%, 31.4%)
CIE-LABlab(67.06, -28.14, 50.63)
CIE-LCHlch(67.06, 57.92, 119.07°)
OKLaboklab(70.64% -0.0804 0.1165)
OKLCHoklch(70.64% 0.142 124.6)
XYZxyz(27.2980, 36.7158, 10.8019)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DAF42 #6442AF
analogous
#AF9B42 #8DAF42 #56AF42
triadic
#8DAF42 #428DAF #AF428D
tetradic
#8DAF42 #42AF9B #6442AF #AF4256
square
#8DAF42 #42AF9B #6442AF #AF4256
split-complementary
#8DAF42 #4256AF #9B42AF
monochromatic
#455620 #698331 #8DAF42 #A9C668 #C2D795

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8DAF42#FFFFFF#000000##000000
##8DAF421.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)
#B8A435
Deuteranopia (green-blind)
#B4A34A
Tritanopia (blue-blind)
#93A798
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8daf42;
/* rgb */ color: rgb(141, 175, 66);
/* oklch */ color: oklch(70.6% 0.142 124.6);
Tailwind
colors: {
  custom: {
    50: '#b1c77b',
    500: '#8daf42',
    950: '#000000',
  },
}
SCSS
$custom: #8daf42;
$custom-light: #b1c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#8daf42",
  "rgb": {
    "r": 141,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 78.716,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70642,
    "c": 0.14158,
    "h": 124.6
  },
  "luminance": 0.36716
}

Semantic roles & 50–950 ramp

primary
#8DAF42
secondary
#9C8AC2
accent
#53D57B
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8DAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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