#42AC30#42AC30

#42AC30 is a light, vivid green. Relative luminance 0.309; OKLCH L 65.8% C 0.188 H 141.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#42AC30
RGBrgb(66, 172, 48)
HSLhsl(111, 56%, 43%)
HSVhsv(111, 72%, 67%)
CMYKcmyk(61.6%, 0%, 72.1%, 32.5%)
CIE-LABlab(62.40, -53.32, 52.00)
CIE-LCHlch(62.40, 74.48, 135.72°)
OKLaboklab(65.82% -0.1458 0.1181)
OKLCHoklch(65.82% 0.188 141)
XYZxyz(17.5319, 30.8751, 7.8313)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC30 #9A30AC
analogous
#80AC30 #42AC30 #30AC5C
triadic
#42AC30 #3042AC #AC3042
tetradic
#42AC30 #3080AC #9A30AC #AC5C30
square
#42AC30 #3080AC #9A30AC #AC5C30
split-complementary
#42AC30 #5C30AC #AC3080
monochromatic
#1D4C15 #307C23 #42AC30 #5FCD4C #8ADA7C

Accessibility & contrast

On white

2.93
#42AC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#42AC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC30
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC30#FFFFFF#000000##000000
##42AC301.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1B
Deuteranopia (green-blind)
#A3943C
Tritanopia (blue-blind)
#32A794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac30;
/* rgb */ color: rgb(66, 172, 48);
/* oklch */ color: oklch(65.8% 0.188 141.0);
Tailwind
colors: {
  custom: {
    50: '#83c670',
    500: '#42ac30',
    950: '#000000',
  },
}
SCSS
$custom: #42ac30;
$custom-light: #83c670;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac30",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 111.29,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.18761,
    "h": 141
  },
  "luminance": 0.30877
}

Semantic roles & 50–950 ramp

primary
#42AC30
secondary
#B875C3
accent
#48E0CA
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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