#42C348#42C348

#42C348 is a light, vivid green. Relative luminance 0.407; OKLCH L 72.1% C 0.199 H 143.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#42C348
RGBrgb(66, 195, 72)
HSLhsl(123, 52%, 51%)
HSVhsv(123, 66%, 76%)
CMYKcmyk(66.2%, 0%, 63.1%, 23.5%)
CIE-LABlab(69.93, -59.14, 50.27)
CIE-LCHlch(69.93, 77.61, 139.64°)
OKLaboklab(72.12% -0.1603 0.1172)
OKLCHoklch(72.12% 0.199 143.8)
XYZxyz(22.9302, 40.6540, 12.7682)
Luminance0.4066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C348 #C342BD
analogous
#7CC342 #42C348 #42C388
triadic
#42C348 #4842C3 #C34842
tetradic
#42C348 #427CC3 #C342BD #C38842
square
#42C348 #427CC3 #C342BD #C38842
split-complementary
#42C348 #8842C3 #C3427C
monochromatic
#216925 #309835 #42C348 #70D275 #9FE0A2

Accessibility & contrast

On white

2.30
#42C348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#42C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C348
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C348#FFFFFF#000000##000000
##42C3481.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B13A
Deuteranopia (green-blind)
#B7A753
Tritanopia (blue-blind)
#21BEA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c348;
/* rgb */ color: rgb(66, 195, 72);
/* oklch */ color: oklch(72.1% 0.199 143.8);
Tailwind
colors: {
  custom: {
    50: '#86d680',
    500: '#42c348',
    950: '#000000',
  },
}
SCSS
$custom: #42c348;
$custom-light: #86d680;
$custom-dark: #000000;
JSON
{
  "hex": "#42c348",
  "rgb": {
    "r": 66,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 122.791,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72116,
    "c": 0.19856,
    "h": 143.8
  },
  "luminance": 0.40656
}

Semantic roles & 50–950 ramp

primary
#42C348
secondary
#CD94CA
accent
#4DD5DB
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0D140A
muted
#7D837C

Preview Lab

Preview with #42C348

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

Preview Lab → · Contrast checker → · Palette generator →

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