#42C259#42C259

#42C259 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.1% C 0.184 H 146.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#42C259
RGBrgb(66, 194, 89)
HSLhsl(131, 51%, 51%)
HSVhsv(131, 66%, 76%)
CMYKcmyk(66%, 0%, 54.1%, 23.9%)
CIE-LABlab(69.80, -56.71, 42.32)
CIE-LCHlch(69.80, 70.76, 143.26°)
OKLaboklab(72.06% -0.1531 0.1013)
OKLCHoklch(72.06% 0.184 146.5)
XYZxyz(23.3401, 40.4607, 16.0289)
Luminance0.4046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C259 #C242AB
analogous
#6BC242 #42C259 #42C299
triadic
#42C259 #5942C2 #C25942
tetradic
#42C259 #426BC2 #C242AB #C29942
square
#42C259 #426BC2 #C242AB #C29942
split-complementary
#42C259 #9942C2 #C2426B
monochromatic
#22682E #319643 #42C259 #70D182 #9FE0AA

Accessibility & contrast

On white

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

On black

9.09
#42C259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C259
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C259#FFFFFF#000000##000000
##42C2591.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14F
Deuteranopia (green-blind)
#B5A661
Tritanopia (blue-blind)
#18BEAA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c259;
/* rgb */ color: rgb(66, 194, 89);
/* oklch */ color: oklch(72.1% 0.184 146.5);
Tailwind
colors: {
  custom: {
    50: '#85d58a',
    500: '#42c259',
    950: '#000000',
  },
}
SCSS
$custom: #42c259;
$custom-light: #85d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c259",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 130.781,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72061,
    "c": 0.1836,
    "h": 146.5
  },
  "luminance": 0.40463
}

Semantic roles & 50–950 ramp

primary
#42C259
secondary
#CC94C2
accent
#4DC1DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #42C259

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

Preview Lab → · Contrast checker → · Palette generator →

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