#42D266#42D266

#42D266 is a light, vivid green. Relative luminance 0.482; OKLCH L 76.4% C 0.193 H 148.0°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#42D266
RGBrgb(66, 210, 102)
HSLhsl(135, 62%, 54%)
HSVhsv(135, 69%, 82%)
CMYKcmyk(68.6%, 0%, 51.4%, 17.6%)
CIE-LABlab(74.96, -60.59, 42.35)
CIE-LCHlch(74.96, 73.93, 145.05°)
OKLaboklab(76.38% -0.1633 0.1022)
OKLCHoklch(76.38% 0.193 148)
XYZxyz(27.6896, 48.2077, 20.4135)
Luminance0.4821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D266 #D242AE
analogous
#66D242 #42D266 #42D2AE
triadic
#42D266 #6642D2 #D26642
tetradic
#42D266 #4266D2 #D242AE #D2AE42
square
#42D266 #4266D2 #D242AE #D2AE42
split-complementary
#42D266 #AE42D2 #D24266
monochromatic
#1E7C35 #29AD4A #42D266 #73DE8E #A5EAB6

Accessibility & contrast

On white

1.97
#42D266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#42D266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D266
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D266#FFFFFF#000000##000000
##42D2661.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05D
Deuteranopia (green-blind)
#C3B46E
Tritanopia (blue-blind)
#00CEB9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d266;
/* rgb */ color: rgb(66, 210, 102);
/* oklch */ color: oklch(76.4% 0.193 148.0);
Tailwind
colors: {
  custom: {
    50: '#88e194',
    500: '#42d266',
    950: '#000000',
  },
}
SCSS
$custom: #42d266;
$custom-light: #88e194;
$custom-dark: #000000;
JSON
{
  "hex": "#42d266",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 135,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76375,
    "c": 0.19261,
    "h": 148
  },
  "luminance": 0.48211
}

Semantic roles & 50–950 ramp

primary
#42D266
secondary
#D799C7
accent
#43BCE5
background
#F9FDF9
surface
#F1FBF1
border
#CBD4CB
text
#0D150D
muted
#7E837E

Preview Lab

Preview with #42D266

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

Preview Lab → · Contrast checker → · Palette generator →

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