#42C968#42C968

#42C968 is a light, vivid green. Relative luminance 0.439; OKLCH L 74.1% C 0.179 H 149.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#42C968
RGBrgb(66, 201, 104)
HSLhsl(137, 56%, 52%)
HSVhsv(137, 67%, 79%)
CMYKcmyk(67.2%, 0%, 48.3%, 21.2%)
CIE-LABlab(72.18, -57.06, 37.93)
CIE-LCHlch(72.18, 68.51, 146.39°)
OKLaboklab(74.09% -0.1538 0.0923)
OKLCHoklch(74.09% 0.179 149)
XYZxyz(25.6301, 43.9283, 20.2223)
Luminance0.4393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C968 #C942A3
analogous
#5FC942 #42C968 #42C9AC
triadic
#42C968 #6842C9 #C96842
tetradic
#42C968 #425FC9 #C942A3 #C9AC42
square
#42C968 #425FC9 #C942A3 #C9AC42
split-complementary
#42C968 #AC42C9 #C9425F
monochromatic
#207037 #2EA04E #42C968 #72D78E #A1E4B4

Accessibility & contrast

On white

2.15
#42C968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#42C968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C968
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C968#FFFFFF#000000##000000
##42C9681.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB860
Deuteranopia (green-blind)
#BAAC6F
Tritanopia (blue-blind)
#00C5B2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c968;
/* rgb */ color: rgb(66, 201, 104);
/* oklch */ color: oklch(74.1% 0.179 149.0);
Tailwind
colors: {
  custom: {
    50: '#86da95',
    500: '#42c968',
    950: '#000000',
  },
}
SCSS
$custom: #42c968;
$custom-light: #86da95;
$custom-dark: #000000;
JSON
{
  "hex": "#42c968",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 136.889,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74092,
    "c": 0.17937,
    "h": 149
  },
  "luminance": 0.43931
}

Semantic roles & 50–950 ramp

primary
#42C968
secondary
#D196C0
accent
#49B5DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #42C968

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

Preview Lab → · Contrast checker → · Palette generator →

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