#42C783#42C783

#42C783 is a light, vivid green. Relative luminance 0.436; OKLCH L 74.1% C 0.152 H 156.8°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#42C783
RGBrgb(66, 199, 131)
HSLhsl(149, 54%, 52%)
HSVhsv(149, 67%, 78%)
CMYKcmyk(66.8%, 0%, 34.2%, 22%)
CIE-LABlab(71.99, -51.53, 23.80)
CIE-LCHlch(71.99, 56.76, 155.21°)
OKLaboklab(74.07% -0.1398 0.0599)
OKLCHoklch(74.07% 0.152 156.8)
XYZxyz(26.7644, 43.6409, 28.4813)
Luminance0.4364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C783 #C74286
analogous
#44C742 #42C783 #42C7C5
triadic
#42C783 #8342C7 #C78342
tetradic
#42C783 #4244C7 #C74286 #C7C542
square
#42C783 #4244C7 #C74286 #C7C542
split-complementary
#42C783 #C542C7 #C74244
monochromatic
#216E46 #2F9D65 #42C783 #71D5A2 #A0E3C1

Accessibility & contrast

On white

2.16
#42C783 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#42C783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C783
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C783#FFFFFF#000000##000000
##42C7831.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B87F
Deuteranopia (green-blind)
#B5AC87
Tritanopia (blue-blind)
#00C5B5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c783;
/* rgb */ color: rgb(66, 199, 131);
/* oklch */ color: oklch(74.1% 0.152 156.8);
Tailwind
colors: {
  custom: {
    50: '#86d9a7',
    500: '#42c783',
    950: '#000000',
  },
}
SCSS
$custom: #42c783;
$custom-light: #86d9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#42c783",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 131
  },
  "hsl": {
    "h": 149.323,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74073,
    "c": 0.1521,
    "h": 156.8
  },
  "luminance": 0.43644
}

Semantic roles & 50–950 ramp

primary
#42C783
secondary
#D095B3
accent
#4A96DE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C783

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

Preview Lab → · Contrast checker → · Palette generator →

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