#42C23D#42C23D

#42C23D is a light, highly saturated green. Relative luminance 0.401; OKLCH L 71.7% C 0.205 H 142.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#42C23D
RGBrgb(66, 194, 61)
HSLhsl(118, 52%, 50%)
HSVhsv(118, 69%, 76%)
CMYKcmyk(66%, 0%, 68.6%, 23.9%)
CIE-LABlab(69.52, -59.89, 54.39)
CIE-LCHlch(69.52, 80.90, 137.75°)
OKLaboklab(71.75% -0.1629 0.1247)
OKLCHoklch(71.75% 0.205 142.6)
XYZxyz(22.3796, 40.0764, 10.9701)
Luminance0.4008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C23D #BD3DC2
analogous
#85C23D #42C23D #3DC27A
triadic
#42C23D #3D42C2 #C23D42
tetradic
#42C23D #3D85C2 #BD3DC2 #C27A3D
square
#42C23D #3D85C2 #BD3DC2 #C27A3D
split-complementary
#42C23D #7A3DC2 #C23D85
monochromatic
#226520 #32932E #42C23D #6FD16C #9DDF9A

Accessibility & contrast

On white

2.33
#42C23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#42C23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C23D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C23D#FFFFFF#000000##000000
##42C23D1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02A
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#25BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c23d;
/* rgb */ color: rgb(66, 194, 61);
/* oklch */ color: oklch(71.7% 0.205 142.6);
Tailwind
colors: {
  custom: {
    50: '#87d679',
    500: '#42c23d',
    950: '#000000',
  },
}
SCSS
$custom: #42c23d;
$custom-light: #87d679;
$custom-dark: #000000;
JSON
{
  "hex": "#42c23d",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 61
  },
  "hsl": {
    "h": 117.744,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.71748,
    "c": 0.20512,
    "h": 142.6
  },
  "luminance": 0.40079
}

Semantic roles & 50–950 ramp

primary
#42C23D
secondary
#C990CB
accent
#4CDCD6
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #42C23D

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

Preview Lab → · Contrast checker → · Palette generator →

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