#42C459#42C459

#42C459 is a light, vivid green. Relative luminance 0.414; OKLCH L 72.6% C 0.186 H 146.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#42C459
RGBrgb(66, 196, 89)
HSLhsl(131, 52%, 51%)
HSVhsv(131, 66%, 77%)
CMYKcmyk(66.3%, 0%, 54.6%, 23.1%)
CIE-LABlab(70.43, -57.43, 43.08)
CIE-LCHlch(70.43, 71.79, 143.12°)
OKLaboklab(72.58% -0.155 0.103)
OKLCHoklch(72.58% 0.186 146.4)
XYZxyz(23.7882, 41.3569, 16.1783)
Luminance0.4136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C459 #C442AD
analogous
#6CC442 #42C459 #42C49A
triadic
#42C459 #5942C4 #C45942
tetradic
#42C459 #426CC4 #C442AD #C49A42
square
#42C459 #426CC4 #C442AD #C49A42
split-complementary
#42C459 #9A42C4 #C4426C
monochromatic
#216A2E #309942 #42C459 #71D382 #9FE1AB

Accessibility & contrast

On white

2.26
#42C459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#42C459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C459
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C459#FFFFFF#000000##000000
##42C4591.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34F
Deuteranopia (green-blind)
#B7A861
Tritanopia (blue-blind)
#16C0AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c459;
/* rgb */ color: rgb(66, 196, 89);
/* oklch */ color: oklch(72.6% 0.186 146.4);
Tailwind
colors: {
  custom: {
    50: '#86d78a',
    500: '#42c459',
    950: '#000000',
  },
}
SCSS
$custom: #42c459;
$custom-light: #86d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c459",
  "rgb": {
    "r": 66,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 130.615,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7258,
    "c": 0.18614,
    "h": 146.4
  },
  "luminance": 0.41359
}

Semantic roles & 50–950 ramp

primary
#42C459
secondary
#CE94C3
accent
#4CC2DC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #42C459

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

Preview Lab → · Contrast checker → · Palette generator →

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