#42D239#42D239

#42D239 is a light, highly saturated green. Relative luminance 0.475; OKLCH L 75.9% C 0.226 H 142.2°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#42D239
RGBrgb(66, 210, 57)
HSLhsl(116, 63%, 52%)
HSVhsv(116, 73%, 82%)
CMYKcmyk(68.6%, 0%, 72.9%, 17.6%)
CIE-LABlab(74.54, -65.54, 61.08)
CIE-LCHlch(74.54, 89.59, 137.02°)
OKLaboklab(75.89% -0.1784 0.1382)
OKLCHoklch(75.89% 0.226 142.2)
XYZxyz(26.0304, 47.5441, 11.6752)
Luminance0.4755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D239 #C939D2
analogous
#8ED239 #42D239 #39D27D
triadic
#42D239 #3942D2 #D23942
tetradic
#42D239 #398ED2 #C939D2 #D27D39
square
#42D239 #398ED2 #C939D2 #D27D39
split-complementary
#42D239 #7D39D2 #D2398E
monochromatic
#20761B #2EA826 #42D239 #72DD6B #A1E99D

Accessibility & contrast

On white

2.00
#42D239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#42D239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D239
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D239#FFFFFF#000000##000000
##42D2391.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1C
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#1CCCB4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #42d239;
/* rgb */ color: rgb(66, 210, 57);
/* oklch */ color: oklch(75.9% 0.226 142.2);
Tailwind
colors: {
  custom: {
    50: '#8ae179',
    500: '#42d239',
    950: '#000000',
  },
}
SCSS
$custom: #42d239;
$custom-light: #8ae179;
$custom-dark: #000000;
JSON
{
  "hex": "#42d239",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 116.471,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75893,
    "c": 0.22565,
    "h": 142.2
  },
  "luminance": 0.47547
}

Semantic roles & 50–950 ramp

primary
#42D239
secondary
#D192D5
accent
#42E6DC
background
#F9FDF7
surface
#F2FBEE
border
#CCD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42D239

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

Preview Lab → · Contrast checker → · Palette generator →

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