#42C239#42C239

#42C239 is a light, highly saturated green. Relative luminance 0.400; OKLCH L 71.7% C 0.208 H 142.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#42C239
RGBrgb(66, 194, 57)
HSLhsl(116, 55%, 49%)
HSVhsv(116, 71%, 76%)
CMYKcmyk(66%, 0%, 70.6%, 23.9%)
CIE-LABlab(69.49, -60.24, 55.91)
CIE-LCHlch(69.49, 82.19, 137.13°)
OKLaboklab(71.71% -0.164 0.1274)
OKLCHoklch(71.71% 0.208 142.2)
XYZxyz(22.2758, 40.0349, 10.4237)
Luminance0.4004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C239 #B939C2
analogous
#87C239 #42C239 #39C274
triadic
#42C239 #3942C2 #C23942
tetradic
#42C239 #3987C2 #B939C2 #C27439
square
#42C239 #3987C2 #B939C2 #C27439
split-complementary
#42C239 #7439C2 #C23987
monochromatic
#22631D #32932B #42C239 #6DD266 #9AE095

Accessibility & contrast

On white

2.33
#42C239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#42C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C239
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C239#FFFFFF#000000##000000
##42C2391.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#26BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c239;
/* rgb */ color: rgb(66, 194, 57);
/* oklch */ color: oklch(71.7% 0.208 142.2);
Tailwind
colors: {
  custom: {
    50: '#87d677',
    500: '#42c239',
    950: '#000000',
  },
}
SCSS
$custom: #42c239;
$custom-light: #87d677;
$custom-dark: #000000;
JSON
{
  "hex": "#42c239",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 116.058,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71714,
    "c": 0.20769,
    "h": 142.2
  },
  "luminance": 0.40037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C239

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

Preview Lab → · Contrast checker → · Palette generator →

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