#42AD27#42AD27

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

Color values

HEX#42AD27
RGBrgb(66, 173, 39)
HSLhsl(108, 63%, 42%)
HSVhsv(108, 77%, 68%)
CMYKcmyk(61.8%, 0%, 77.5%, 32.2%)
CIE-LABlab(62.67, -54.34, 55.46)
CIE-LCHlch(62.67, 77.64, 134.41°)
OKLaboklab(66.03% -0.149 0.1241)
OKLCHoklch(66.03% 0.194 140.2)
XYZxyz(17.5557, 31.1902, 7.0142)
Luminance0.3119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD27 #9227AD
analogous
#85AD27 #42AD27 #27AD4F
triadic
#42AD27 #2742AD #AD2742
tetradic
#42AD27 #2785AD #9227AD #AD4F27
square
#42AD27 #2785AD #9227AD #AD4F27
split-complementary
#42AD27 #4F27AD #AD2785
monochromatic
#1C4910 #2F7B1C #42AD27 #5CD33E #86DF70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AD27#FFFFFF#000000##000000
##42AD271.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)
#B29D03
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#33A794
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ad27;
/* rgb */ color: rgb(66, 173, 39);
/* oklch */ color: oklch(66.0% 0.194 140.2);
Tailwind
colors: {
  custom: {
    50: '#84c66b',
    500: '#42ad27',
    950: '#000000',
  },
}
SCSS
$custom: #42ad27;
$custom-light: #84c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad27",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 39
  },
  "hsl": {
    "h": 107.91,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66026,
    "c": 0.19391,
    "h": 140.2
  },
  "luminance": 0.31192
}

Semantic roles & 50–950 ramp

primary
#42AD27
secondary
#B36AC6
accent
#42E6C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AD27

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

Preview Lab → · Contrast checker → · Palette generator →

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