#8DA540#8DA540

#8DA540 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.3% C 0.130 H 121.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8DA540
RGBrgb(141, 165, 64)
HSLhsl(74, 44%, 45%)
HSVhsv(74, 61%, 65%)
CMYKcmyk(14.5%, 0%, 61.2%, 35.3%)
CIE-LABlab(64.11, -23.41, 48.28)
CIE-LCHlch(64.11, 53.66, 115.87°)
OKLaboklab(68.26% -0.0675 0.1113)
OKLCHoklch(68.26% 0.13 121.2)
XYZxyz(25.3653, 32.9432, 9.8719)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DA540 #5840A5
analogous
#A58A40 #8DA540 #5BA540
triadic
#8DA540 #408DA5 #A5408D
tetradic
#8DA540 #40A58A #5840A5 #A5405B
square
#8DA540 #40A58A #5840A5 #A5405B
split-complementary
#8DA540 #405BA5 #8A40A5
monochromatic
#424D1E #67792F #8DA540 #ABC261 #C2D38D

Accessibility & contrast

On white

2.77
#8DA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#8DA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DA540
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DA540#FFFFFF#000000##000000
##8DA5401.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#AC9B47
Tritanopia (blue-blind)
#949D90
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8da540;
/* rgb */ color: rgb(141, 165, 64);
/* oklch */ color: oklch(68.3% 0.130 121.2);
Tailwind
colors: {
  custom: {
    50: '#b1bf79',
    500: '#8da540',
    950: '#000000',
  },
}
SCSS
$custom: #8da540;
$custom-light: #b1bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#8da540",
  "rgb": {
    "r": 141,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 74.257,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68259,
    "c": 0.13013,
    "h": 121.2
  },
  "luminance": 0.32943
}

Semantic roles & 50–950 ramp

primary
#8DA540
secondary
#9183BE
accent
#54D472
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8DA540

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

Preview Lab → · Contrast checker → · Palette generator →

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