#42AC2F#42AC2F

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

Color values

HEX#42AC2F
RGBrgb(66, 172, 47)
HSLhsl(111, 57%, 43%)
HSVhsv(111, 73%, 67%)
CMYKcmyk(61.6%, 0%, 72.7%, 32.5%)
CIE-LABlab(62.40, -53.40, 52.37)
CIE-LCHlch(62.40, 74.80, 135.56°)
OKLaboklab(65.82% -0.1461 0.1187)
OKLCHoklch(65.82% 0.188 140.9)
XYZxyz(17.5115, 30.8669, 7.7238)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC2F #992FAC
analogous
#80AC2F #42AC2F #2FAC5A
triadic
#42AC2F #2F42AC #AC2F42
tetradic
#42AC2F #2F80AC #992FAC #AC5A2F
square
#42AC2F #2F80AC #992FAC #AC5A2F
split-complementary
#42AC2F #5A2FAC #AC2F80
monochromatic
#1D4C15 #307C22 #42AC2F #5ECE4B #89DB7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AC2F#FFFFFF#000000##000000
##42AC2F1.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)
#B09C19
Deuteranopia (green-blind)
#A3943C
Tritanopia (blue-blind)
#32A794
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac2f;
/* rgb */ color: rgb(66, 172, 47);
/* oklch */ color: oklch(65.8% 0.188 140.9);
Tailwind
colors: {
  custom: {
    50: '#83c66f',
    500: '#42ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #42ac2f;
$custom-light: #83c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac2f",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 110.88,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65816,
    "c": 0.18822,
    "h": 140.9
  },
  "luminance": 0.30869
}

Semantic roles & 50–950 ramp

primary
#42AC2F
secondary
#B774C3
accent
#47E0C9
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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