#42C252#42C252

#42C252 is a light, vivid green. Relative luminance 0.404; OKLCH L 72.0% C 0.189 H 145.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#42C252
RGBrgb(66, 194, 82)
HSLhsl(128, 51%, 51%)
HSVhsv(128, 66%, 76%)
CMYKcmyk(66%, 0%, 57.7%, 23.9%)
CIE-LABlab(69.72, -57.62, 45.53)
CIE-LCHlch(69.72, 73.44, 141.69°)
OKLaboklab(71.97% -0.1558 0.1079)
OKLCHoklch(71.97% 0.189 145.3)
XYZxyz(23.0600, 40.3486, 14.5538)
Luminance0.4035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C252 #C242B2
analogous
#72C242 #42C252 #42C292
triadic
#42C252 #5242C2 #C25242
tetradic
#42C252 #4272C2 #C242B2 #C29242
square
#42C252 #4272C2 #C242B2 #C29242
split-complementary
#42C252 #9242C2 #C24272
monochromatic
#22682A #31963D #42C252 #70D17C #9FE0A7

Accessibility & contrast

On white

2.32
#42C252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#42C252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C252
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C252#FFFFFF#000000##000000
##42C2521.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B147
Deuteranopia (green-blind)
#B6A65B
Tritanopia (blue-blind)
#1CBDA9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c252;
/* rgb */ color: rgb(66, 194, 82);
/* oklch */ color: oklch(72.0% 0.189 145.3);
Tailwind
colors: {
  custom: {
    50: '#86d586',
    500: '#42c252',
    950: '#000000',
  },
}
SCSS
$custom: #42c252;
$custom-light: #86d586;
$custom-dark: #000000;
JSON
{
  "hex": "#42c252",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 127.5,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7197,
    "c": 0.18948,
    "h": 145.3
  },
  "luminance": 0.40351
}

Semantic roles & 50–950 ramp

primary
#42C252
secondary
#CC94C5
accent
#4DC9DB
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42C252

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

Preview Lab → · Contrast checker → · Palette generator →

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