#42AC33#42AC33

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

Color values

HEX#42AC33
RGBrgb(66, 172, 51)
HSLhsl(113, 54%, 44%)
HSVhsv(113, 70%, 67%)
CMYKcmyk(61.6%, 0%, 70.3%, 32.5%)
CIE-LABlab(62.42, -53.07, 50.86)
CIE-LCHlch(62.42, 73.51, 136.22°)
OKLaboklab(65.85% -0.1449 0.1161)
OKLCHoklch(65.85% 0.186 141.3)
XYZxyz(17.5959, 30.9007, 8.1685)
Luminance0.3090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC33 #9D33AC
analogous
#7EAC33 #42AC33 #33AC60
triadic
#42AC33 #3342AC #AC3342
tetradic
#42AC33 #337EAC #9D33AC #AC6033
square
#42AC33 #337EAC #9D33AC #AC6033
split-complementary
#42AC33 #6033AC #AC337E
monochromatic
#1E4E17 #307D25 #42AC33 #60CB51 #8BD980

Accessibility & contrast

On white

2.92
#42AC33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AC33#FFFFFF#000000##000000
##42AC331.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C20
Deuteranopia (green-blind)
#A3943F
Tritanopia (blue-blind)
#31A794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac33;
/* rgb */ color: rgb(66, 172, 51);
/* oklch */ color: oklch(65.8% 0.186 141.3);
Tailwind
colors: {
  custom: {
    50: '#83c671',
    500: '#42ac33',
    950: '#000000',
  },
}
SCSS
$custom: #42ac33;
$custom-light: #83c671;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac33",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 112.562,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65849,
    "c": 0.18569,
    "h": 141.3
  },
  "luminance": 0.30902
}

Semantic roles & 50–950 ramp

primary
#42AC33
secondary
#B978C2
accent
#4ADECB
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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