#42AD38#42AD38

#42AD38 is a light, vivid green. Relative luminance 0.313; OKLCH L 66.2% C 0.183 H 141.9°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#42AD38
RGBrgb(66, 173, 56)
HSLhsl(115, 51%, 45%)
HSVhsv(115, 68%, 68%)
CMYKcmyk(61.8%, 0%, 67.6%, 32.2%)
CIE-LABlab(62.78, -52.97, 49.22)
CIE-LCHlch(62.78, 72.31, 137.10°)
OKLaboklab(66.16% -0.1444 0.1132)
OKLCHoklch(66.16% 0.184 141.9)
XYZxyz(17.9032, 31.3292, 8.8443)
Luminance0.3133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD38 #A338AD
analogous
#7CAD38 #42AD38 #38AD69
triadic
#42AD38 #3842AD #AD3842
tetradic
#42AD38 #387CAD #A338AD #AD6938
square
#42AD38 #387CAD #A338AD #AD6938
split-complementary
#42AD38 #6938AD #AD387C
monochromatic
#1F511A #307F29 #42AD38 #63C959 #8ED887

Accessibility & contrast

On white

2.89
#42AD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#42AD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AD38
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AD38#FFFFFF#000000##000000
##42AD381.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D28
Deuteranopia (green-blind)
#A49443
Tritanopia (blue-blind)
#30A895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ad38;
/* rgb */ color: rgb(66, 173, 56);
/* oklch */ color: oklch(66.2% 0.183 141.9);
Tailwind
colors: {
  custom: {
    50: '#83c674',
    500: '#42ad38',
    950: '#000000',
  },
}
SCSS
$custom: #42ad38;
$custom-light: #83c674;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad38",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 114.872,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6616,
    "c": 0.1835,
    "h": 141.9
  },
  "luminance": 0.31331
}

Semantic roles & 50–950 ramp

primary
#42AD38
secondary
#BC7FC2
accent
#4DDBCE
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42AD38

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

Preview Lab → · Contrast checker → · Palette generator →

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