#42BA4E#42BA4E

#42BA4E is a light, vivid green. Relative luminance 0.368; OKLCH L 69.8% C 0.183 H 144.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#42BA4E
RGBrgb(66, 186, 78)
HSLhsl(126, 48%, 49%)
HSVhsv(126, 65%, 73%)
CMYKcmyk(64.5%, 0%, 58.1%, 27.1%)
CIE-LABlab(67.14, -55.25, 44.37)
CIE-LCHlch(67.14, 70.87, 141.23°)
OKLaboklab(69.83% -0.1495 0.105)
OKLCHoklch(69.83% 0.183 144.9)
XYZxyz(21.1795, 36.8240, 13.1978)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BA4E #BA42AE
analogous
#72BA42 #42BA4E #42BA8A
triadic
#42BA4E #4E42BA #BA4E42
tetradic
#42BA4E #4272BA #BA42AE #BA8A42
square
#42BA4E #4272BA #BA42AE #BA8A42
split-complementary
#42BA4E #8A42BA #BA4272
monochromatic
#226028 #328D3B #42BA4E #6ECB77 #9BDBA1

Accessibility & contrast

On white

2.51
#42BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#42BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BA4E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BA4E#FFFFFF#000000##000000
##42BA4E1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA43
Deuteranopia (green-blind)
#AE9F57
Tritanopia (blue-blind)
#23B5A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42ba4e;
/* rgb */ color: rgb(66, 186, 78);
/* oklch */ color: oklch(69.8% 0.183 144.9);
Tailwind
colors: {
  custom: {
    50: '#84d083',
    500: '#42ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #42ba4e;
$custom-light: #84d083;
$custom-dark: #000000;
JSON
{
  "hex": "#42ba4e",
  "rgb": {
    "r": 66,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 126,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.6983,
    "c": 0.18273,
    "h": 144.9
  },
  "luminance": 0.36826
}

Semantic roles & 50–950 ramp

primary
#42BA4E
secondary
#C890C2
accent
#51CAD7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #42BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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