#42AC2B#42AC2B

#42AC2B is a light, vivid green. Relative luminance 0.308; OKLCH L 65.8% C 0.191 H 140.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#42AC2B
RGBrgb(66, 172, 43)
HSLhsl(109, 60%, 42%)
HSVhsv(109, 75%, 67%)
CMYKcmyk(61.6%, 0%, 75%, 32.5%)
CIE-LABlab(62.37, -53.70, 53.80)
CIE-LCHlch(62.37, 76.02, 134.95°)
OKLaboklab(65.79% -0.1471 0.1212)
OKLCHoklch(65.79% 0.191 140.5)
XYZxyz(17.4345, 30.8361, 7.3182)
Luminance0.3084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC2B #952BAC
analogous
#83AC2B #42AC2B #2BAC54
triadic
#42AC2B #2B42AC #AC2B42
tetradic
#42AC2B #2B83AC #952BAC #AC542B
square
#42AC2B #2B83AC #952BAC #AC542B
split-complementary
#42AC2B #542BAC #AC2B83
monochromatic
#1C4A13 #2F7B1F #42AC2B #5DD044 #87DC75

Accessibility & contrast

On white

2.93
#42AC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#42AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC2B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC2B#FFFFFF#000000##000000
##42AC2B1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C10
Deuteranopia (green-blind)
#A49339
Tritanopia (blue-blind)
#32A693
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac2b;
/* rgb */ color: rgb(66, 172, 43);
/* oklch */ color: oklch(65.8% 0.191 140.5);
Tailwind
colors: {
  custom: {
    50: '#83c66d',
    500: '#42ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #42ac2b;
$custom-light: #83c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac2b",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 109.302,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65787,
    "c": 0.19058,
    "h": 140.5
  },
  "luminance": 0.30838
}

Semantic roles & 50–950 ramp

primary
#42AC2B
secondary
#B56FC4
accent
#45E3C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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