#42CF40#42CF40

#42CF40 is a light, highly saturated green. Relative luminance 0.462; OKLCH L 75.2% C 0.218 H 142.8°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#42CF40
RGBrgb(66, 207, 64)
HSLhsl(119, 60%, 53%)
HSVhsv(119, 69%, 81%)
CMYKcmyk(68.1%, 0%, 69.1%, 18.8%)
CIE-LABlab(73.64, -63.98, 57.58)
CIE-LCHlch(73.64, 86.08, 138.02°)
OKLaboklab(75.17% -0.1738 0.1317)
OKLCHoklch(75.17% 0.218 142.8)
XYZxyz(25.4835, 46.1513, 12.4146)
Luminance0.4615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CF40 #CD40CF
analogous
#89CF40 #42CF40 #40CF85
triadic
#42CF40 #4042CF #CF4042
tetradic
#42CF40 #4089CF #CD40CF #CF8540
square
#42CF40 #4089CF #CD40CF #CF8540
split-complementary
#42CF40 #8540CF #CF4089
monochromatic
#1F771E #2CA82A #42CF40 #72DB71 #A3E8A2

Accessibility & contrast

On white

2.05
#42CF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#42CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CF40
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CF40#FFFFFF#000000##000000
##42CF401.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2B
Deuteranopia (green-blind)
#C3B14E
Tritanopia (blue-blind)
#1CC9B2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #42cf40;
/* rgb */ color: rgb(66, 207, 64);
/* oklch */ color: oklch(75.2% 0.218 142.8);
Tailwind
colors: {
  custom: {
    50: '#89df7c',
    500: '#42cf40',
    950: '#000000',
  },
}
SCSS
$custom: #42cf40;
$custom-light: #89df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#42cf40",
  "rgb": {
    "r": 66,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 119.161,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75168,
    "c": 0.2181,
    "h": 142.8
  },
  "luminance": 0.46154
}

Semantic roles & 50–950 ramp

primary
#42CF40
secondary
#D397D4
accent
#45E3E1
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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