#42BF2A#42BF2A

#42BF2A is a light, highly saturated green. Relative luminance 0.386; OKLCH L 70.8% C 0.213 H 140.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#42BF2A
RGBrgb(66, 191, 42)
HSLhsl(110, 64%, 46%)
HSVhsv(110, 78%, 75%)
CMYKcmyk(65.4%, 0%, 78%, 25.1%)
CIE-LABlab(68.45, -60.33, 60.07)
CIE-LCHlch(68.45, 85.14, 135.12°)
OKLaboklab(70.82% -0.165 0.1341)
OKLCHoklch(70.82% 0.213 140.9)
XYZxyz(21.2944, 38.5849, 8.5155)
Luminance0.3859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BF2A #A72ABF
analogous
#8CBF2A #42BF2A #2ABF5D
triadic
#42BF2A #2A42BF #BF2A42
tetradic
#42BF2A #2A8CBF #A72ABF #BF5D2A
square
#42BF2A #2A8CBF #A72ABF #BF5D2A
split-complementary
#42BF2A #5D2ABF #BF2A8C
monochromatic
#1F5B14 #318D1F #42BF2A #64D84E #90E380

Accessibility & contrast

On white

2.41
#42BF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#42BF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BF2A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BF2A#FFFFFF#000000##000000
##42BF2A1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#2BB9A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #42bf2a;
/* rgb */ color: rgb(66, 191, 42);
/* oklch */ color: oklch(70.8% 0.213 140.9);
Tailwind
colors: {
  custom: {
    50: '#87d36f',
    500: '#42bf2a',
    950: '#000000',
  },
}
SCSS
$custom: #42bf2a;
$custom-light: #87d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#42bf2a",
  "rgb": {
    "r": 66,
    "g": 191,
    "b": 42
  },
  "hsl": {
    "h": 110.336,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70819,
    "c": 0.21265,
    "h": 140.9
  },
  "luminance": 0.38587
}

Semantic roles & 50–950 ramp

primary
#42BF2A
secondary
#BE79CC
accent
#41E7CC
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1408
muted
#7E837B

Preview Lab

Preview with #42BF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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