#42AB30#42AB30

#42AB30 is a light, vivid green. Relative luminance 0.305; OKLCH L 65.6% C 0.186 H 141.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#42AB30
RGBrgb(66, 171, 48)
HSLhsl(111, 56%, 43%)
HSVhsv(111, 72%, 67%)
CMYKcmyk(61.4%, 0%, 71.9%, 32.9%)
CIE-LABlab(62.08, -52.96, 51.67)
CIE-LCHlch(62.08, 73.99, 135.71°)
OKLaboklab(65.56% -0.1448 0.1174)
OKLCHoklch(65.56% 0.186 141)
XYZxyz(17.3423, 30.4958, 7.7681)
Luminance0.3050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB30 #9930AB
analogous
#7FAB30 #42AB30 #30AB5C
triadic
#42AB30 #3042AB #AB3042
tetradic
#42AB30 #307FAB #9930AB #AB5C30
square
#42AB30 #307FAB #9930AB #AB5C30
split-complementary
#42AB30 #5C30AB #AB307F
monochromatic
#1D4B15 #307B23 #42AB30 #5ECD4C #89DA7B

Accessibility & contrast

On white

2.96
#42AB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#42AB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB30
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB30#FFFFFF#000000##000000
##42AB301.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#A2933C
Tritanopia (blue-blind)
#32A693
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42ab30;
/* rgb */ color: rgb(66, 171, 48);
/* oklch */ color: oklch(65.6% 0.186 141.0);
Tailwind
colors: {
  custom: {
    50: '#83c570',
    500: '#42ab30',
    950: '#000000',
  },
}
SCSS
$custom: #42ab30;
$custom-light: #83c570;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab30",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 111.22,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65558,
    "c": 0.18642,
    "h": 141
  },
  "luminance": 0.30497
}

Semantic roles & 50–950 ramp

primary
#42AB30
secondary
#B774C3
accent
#48DFC9
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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