#42BA3C#42BA3C

#42BA3C is a light, vivid green. Relative luminance 0.366; OKLCH L 69.6% C 0.196 H 142.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#42BA3C
RGBrgb(66, 186, 60)
HSLhsl(117, 51%, 48%)
HSVhsv(117, 68%, 73%)
CMYKcmyk(64.5%, 0%, 67.7%, 27.1%)
CIE-LABlab(66.98, -57.22, 52.08)
CIE-LCHlch(66.98, 77.37, 137.69°)
OKLaboklab(69.64% -0.1557 0.1197)
OKLCHoklch(69.64% 0.196 142.4)
XYZxyz(20.6201, 36.6002, 10.2520)
Luminance0.3660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BA3C #B43CBA
analogous
#81BA3C #42BA3C #3CBA75
triadic
#42BA3C #3C42BA #BA3C42
tetradic
#42BA3C #3C81BA #B43CBA #BA753C
square
#42BA3C #3C81BA #B43CBA #BA753C
split-complementary
#42BA3C #753CBA #BA3C81
monochromatic
#215D1E #328C2D #42BA3C #6BCE66 #97DC94

Accessibility & contrast

On white

2.52
#42BA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#42BA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BA3C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BA3C#FFFFFF#000000##000000
##42BA3C1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92B
Deuteranopia (green-blind)
#B09F48
Tritanopia (blue-blind)
#29B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42ba3c;
/* rgb */ color: rgb(66, 186, 60);
/* oklch */ color: oklch(69.6% 0.196 142.4);
Tailwind
colors: {
  custom: {
    50: '#85d078',
    500: '#42ba3c',
    950: '#000000',
  },
}
SCSS
$custom: #42ba3c;
$custom-light: #85d078;
$custom-dark: #000000;
JSON
{
  "hex": "#42ba3c",
  "rgb": {
    "r": 66,
    "g": 186,
    "b": 60
  },
  "hsl": {
    "h": 117.143,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69636,
    "c": 0.19639,
    "h": 142.4
  },
  "luminance": 0.36602
}

Semantic roles & 50–950 ramp

primary
#42BA3C
secondary
#C58AC8
accent
#4DDBD4
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C1409
muted
#7D827B

Preview Lab

Preview with #42BA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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