#8DA040#8DA040

#8DA040 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 67.1% C 0.124 H 119.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8DA040
RGBrgb(141, 160, 64)
HSLhsl(72, 43%, 44%)
HSVhsv(72, 60%, 63%)
CMYKcmyk(11.9%, 0%, 60%, 37.3%)
CIE-LABlab(62.65, -20.90, 46.67)
CIE-LCHlch(62.65, 51.13, 114.13°)
OKLaboklab(67.08% -0.0605 0.1078)
OKLCHoklch(67.08% 0.124 119.3)
XYZxyz(24.4811, 31.1746, 9.5771)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DA040 #5340A0
analogous
#A08340 #8DA040 #5DA040
triadic
#8DA040 #408DA0 #A0408D
tetradic
#8DA040 #40A083 #5340A0 #A0405D
square
#8DA040 #40A083 #5340A0 #A0405D
split-complementary
#8DA040 #405DA0 #8340A0
monochromatic
#40491D #66742F #8DA040 #ACBF5E #C2D08A

Accessibility & contrast

On white

2.90
#8DA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8DA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DA040
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DA040#FFFFFF#000000##000000
##8DA0401.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9835
Deuteranopia (green-blind)
#A79846
Tritanopia (blue-blind)
#94988B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8da040;
/* rgb */ color: rgb(141, 160, 64);
/* oklch */ color: oklch(67.1% 0.124 119.3);
Tailwind
colors: {
  custom: {
    50: '#b1bc79',
    500: '#8da040',
    950: '#000000',
  },
}
SCSS
$custom: #8da040;
$custom-light: #b1bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#8da040",
  "rgb": {
    "r": 141,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 71.875,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67085,
    "c": 0.12363,
    "h": 119.3
  },
  "luminance": 0.31174
}

Semantic roles & 50–950 ramp

primary
#8DA040
secondary
#8C81BB
accent
#55D36E
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8DA040

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

Preview Lab → · Contrast checker → · Palette generator →

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