#42C662#42C662

#42C662 is a light, vivid green. Relative luminance 0.424; OKLCH L 73.2% C 0.181 H 148.0°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#42C662
RGBrgb(66, 198, 98)
HSLhsl(135, 54%, 52%)
HSVhsv(135, 67%, 78%)
CMYKcmyk(66.7%, 0%, 50.5%, 22.4%)
CIE-LABlab(71.16, -56.87, 39.62)
CIE-LCHlch(71.16, 69.32, 145.14°)
OKLaboklab(73.23% -0.1534 0.0959)
OKLCHoklch(73.23% 0.181 148)
XYZxyz(24.6436, 42.4257, 18.4431)
Luminance0.4243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C662 #C642A6
analogous
#64C642 #42C662 #42C6A4
triadic
#42C662 #6242C6 #C66242
tetradic
#42C662 #4264C6 #C642A6 #C6A442
square
#42C662 #4264C6 #C642A6 #C6A442
split-complementary
#42C662 #A442C6 #C64264
monochromatic
#216D33 #2F9C49 #42C662 #71D489 #A0E2B0

Accessibility & contrast

On white

2.21
#42C662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#42C662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C662
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C662#FFFFFF#000000##000000
##42C6621.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#B8AA69
Tritanopia (blue-blind)
#0BC2AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #42c662;
/* rgb */ color: rgb(66, 198, 98);
/* oklch */ color: oklch(73.2% 0.181 148.0);
Tailwind
colors: {
  custom: {
    50: '#86d890',
    500: '#42c662',
    950: '#000000',
  },
}
SCSS
$custom: #42c662;
$custom-light: #86d890;
$custom-dark: #000000;
JSON
{
  "hex": "#42c662",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 134.545,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73226,
    "c": 0.18086,
    "h": 148
  },
  "luminance": 0.42428
}

Semantic roles & 50–950 ramp

primary
#42C662
secondary
#CF95C1
accent
#4BBADD
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #42C662

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

Preview Lab → · Contrast checker → · Palette generator →

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