#42C339#42C339

#42C339 is a light, highly saturated green. Relative luminance 0.405; OKLCH L 72.0% C 0.209 H 142.2°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#42C339
RGBrgb(66, 195, 57)
HSLhsl(116, 55%, 49%)
HSVhsv(116, 71%, 76%)
CMYKcmyk(66.2%, 0%, 70.8%, 23.5%)
CIE-LABlab(69.81, -60.58, 56.24)
CIE-LCHlch(69.81, 82.66, 137.13°)
OKLaboklab(71.98% -0.165 0.1281)
OKLCHoklch(71.98% 0.209 142.2)
XYZxyz(22.4991, 40.4816, 10.4981)
Luminance0.4048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C339 #BA39C3
analogous
#87C339 #42C339 #39C375
triadic
#42C339 #3942C3 #C33942
tetradic
#42C339 #3987C3 #BA39C3 #C37539
square
#42C339 #3987C3 #BA39C3 #C37539
split-complementary
#42C339 #7539C3 #C33987
monochromatic
#22641D #32942B #42C339 #6ED267 #9BE096

Accessibility & contrast

On white

2.31
#42C339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#42C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C339
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C339#FFFFFF#000000##000000
##42C3391.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B123
Deuteranopia (green-blind)
#B8A747
Tritanopia (blue-blind)
#26BDA8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c339;
/* rgb */ color: rgb(66, 195, 57);
/* oklch */ color: oklch(72.0% 0.209 142.2);
Tailwind
colors: {
  custom: {
    50: '#87d677',
    500: '#42c339',
    950: '#000000',
  },
}
SCSS
$custom: #42c339;
$custom-light: #87d677;
$custom-dark: #000000;
JSON
{
  "hex": "#42c339",
  "rgb": {
    "r": 66,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 116.087,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71976,
    "c": 0.20884,
    "h": 142.2
  },
  "luminance": 0.40484
}

Semantic roles & 50–950 ramp

primary
#42C339
secondary
#C88CCC
accent
#4ADED4
background
#F9FDF7
surface
#F1FAEE
border
#CBD3C9
text
#0D1409
muted
#7E837B

Preview Lab

Preview with #42C339

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

Preview Lab → · Contrast checker → · Palette generator →

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