#42C23A#42C23A

#42C23A is a light, highly saturated green. Relative luminance 0.400; OKLCH L 71.7% C 0.207 H 142.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#42C23A
RGBrgb(66, 194, 58)
HSLhsl(116, 54%, 49%)
HSVhsv(116, 70%, 76%)
CMYKcmyk(66%, 0%, 70.1%, 23.9%)
CIE-LABlab(69.50, -60.15, 55.54)
CIE-LCHlch(69.50, 81.87, 137.28°)
OKLaboklab(71.72% -0.1637 0.1267)
OKLCHoklch(71.72% 0.207 142.3)
XYZxyz(22.3010, 40.0450, 10.5564)
Luminance0.4005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C23A #BA3AC2
analogous
#86C23A #42C23A #3AC276
triadic
#42C23A #3A42C2 #C23A42
tetradic
#42C23A #3A86C2 #BA3AC2 #C2763A
square
#42C23A #3A86C2 #BA3AC2 #C2763A
split-complementary
#42C23A #763AC2 #C23A86
monochromatic
#22641E #32932C #42C23A #6ED267 #9BE097

Accessibility & contrast

On white

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

On black

9.01
#42C23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C23A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C23A#FFFFFF#000000##000000
##42C23A1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#26BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c23a;
/* rgb */ color: rgb(66, 194, 58);
/* oklch */ color: oklch(71.7% 0.207 142.3);
Tailwind
colors: {
  custom: {
    50: '#87d678',
    500: '#42c23a',
    950: '#000000',
  },
}
SCSS
$custom: #42c23a;
$custom-light: #87d678;
$custom-dark: #000000;
JSON
{
  "hex": "#42c23a",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 116.471,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71722,
    "c": 0.20706,
    "h": 142.3
  },
  "luminance": 0.40047
}

Semantic roles & 50–950 ramp

primary
#42C23A
secondary
#C88DCB
accent
#4ADDD5
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #42C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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