#42AD28#42AD28

#42AD28 is a light, vivid green. Relative luminance 0.312; OKLCH L 66.0% C 0.193 H 140.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#42AD28
RGBrgb(66, 173, 40)
HSLhsl(108, 62%, 42%)
HSVhsv(108, 77%, 68%)
CMYKcmyk(61.8%, 0%, 76.9%, 32.2%)
CIE-LABlab(62.67, -54.27, 55.13)
CIE-LCHlch(62.67, 77.36, 134.55°)
OKLaboklab(66.03% -0.1488 0.1235)
OKLCHoklch(66.03% 0.193 140.3)
XYZxyz(17.5725, 31.1969, 7.1026)
Luminance0.3120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD28 #9328AD
analogous
#85AD28 #42AD28 #28AD51
triadic
#42AD28 #2842AD #AD2842
tetradic
#42AD28 #2885AD #9328AD #AD5128
square
#42AD28 #2885AD #9328AD #AD5128
split-complementary
#42AD28 #5128AD #AD2885
monochromatic
#1C4A11 #2F7B1D #42AD28 #5CD33F #87DE71

Accessibility & contrast

On white

2.90
#42AD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#42AD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AD28
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AD28#FFFFFF#000000##000000
##42AD281.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#A59437
Tritanopia (blue-blind)
#33A794
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ad28;
/* rgb */ color: rgb(66, 173, 40);
/* oklch */ color: oklch(66.0% 0.193 140.3);
Tailwind
colors: {
  custom: {
    50: '#84c66c',
    500: '#42ad28',
    950: '#000000',
  },
}
SCSS
$custom: #42ad28;
$custom-light: #84c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad28",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 108.271,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.19339,
    "h": 140.3
  },
  "luminance": 0.31199
}

Semantic roles & 50–950 ramp

primary
#42AD28
secondary
#B46CC5
accent
#42E6C6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AD28

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

Preview Lab → · Contrast checker → · Palette generator →

#42AD28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva