#42C748#42C748

#42C748 is a light, highly saturated green. Relative luminance 0.425; OKLCH L 73.2% C 0.203 H 143.8°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#42C748
RGBrgb(66, 199, 72)
HSLhsl(123, 54%, 52%)
HSVhsv(123, 67%, 78%)
CMYKcmyk(66.8%, 0%, 63.8%, 22%)
CIE-LABlab(71.19, -60.52, 51.67)
CIE-LCHlch(71.19, 79.58, 139.51°)
OKLaboklab(73.16% -0.164 0.1202)
OKLCHoklch(73.16% 0.203 143.8)
XYZxyz(23.8384, 42.4705, 13.0710)
Luminance0.4247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C748 #C742C1
analogous
#7FC742 #42C748 #42C78B
triadic
#42C748 #4842C7 #C74842
tetradic
#42C748 #427FC7 #C742C1 #C78B42
square
#42C748 #427FC7 #C742C1 #C78B42
split-complementary
#42C748 #8B42C7 #C7427F
monochromatic
#216E24 #2F9D34 #42C748 #71D576 #A0E3A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C748#FFFFFF#000000##000000
##42C7481.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)
#CBB539
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#1EC2AC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #42c748;
/* rgb */ color: rgb(66, 199, 72);
/* oklch */ color: oklch(73.2% 0.203 143.8);
Tailwind
colors: {
  custom: {
    50: '#87d980',
    500: '#42c748',
    950: '#000000',
  },
}
SCSS
$custom: #42c748;
$custom-light: #87d980;
$custom-dark: #000000;
JSON
{
  "hex": "#42c748",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 122.707,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7316,
    "c": 0.20334,
    "h": 143.8
  },
  "luminance": 0.42473
}

Semantic roles & 50–950 ramp

primary
#42C748
secondary
#D095CD
accent
#4AD7DE
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42C748

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

Preview Lab → · Contrast checker → · Palette generator →

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