#42AC2E#42AC2E

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

Color values

HEX#42AC2E
RGBrgb(66, 172, 46)
HSLhsl(110, 58%, 43%)
HSVhsv(110, 73%, 67%)
CMYKcmyk(61.6%, 0%, 73.3%, 32.5%)
CIE-LABlab(62.39, -53.48, 52.74)
CIE-LCHlch(62.39, 75.11, 135.40°)
OKLaboklab(65.81% -0.1463 0.1193)
OKLCHoklch(65.81% 0.189 140.8)
XYZxyz(17.4916, 30.8589, 7.6188)
Luminance0.3086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC2E #982EAC
analogous
#81AC2E #42AC2E #2EAC59
triadic
#42AC2E #2E42AC #AC2E42
tetradic
#42AC2E #2E81AC #982EAC #AC592E
square
#42AC2E #2E81AC #982EAC #AC592E
split-complementary
#42AC2E #592EAC #AC2E81
monochromatic
#1D4B14 #2F7C21 #42AC2E #5ECE49 #89DB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AC2E#FFFFFF#000000##000000
##42AC2E1.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)
#B19C17
Deuteranopia (green-blind)
#A4943B
Tritanopia (blue-blind)
#32A693
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ac2e;
/* rgb */ color: rgb(66, 172, 46);
/* oklch */ color: oklch(65.8% 0.189 140.8);
Tailwind
colors: {
  custom: {
    50: '#83c66f',
    500: '#42ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #42ac2e;
$custom-light: #83c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac2e",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 110.476,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65809,
    "c": 0.18883,
    "h": 140.8
  },
  "luminance": 0.30861
}

Semantic roles & 50–950 ramp

primary
#42AC2E
secondary
#B772C3
accent
#47E1C9
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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