#42AC4E#42AC4E

#42AC4E is a light, vivid green. Relative luminance 0.312; OKLCH L 66.1% C 0.165 H 145.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#42AC4E
RGBrgb(66, 172, 78)
HSLhsl(127, 45%, 47%)
HSVhsv(127, 62%, 67%)
CMYKcmyk(61.6%, 0%, 54.7%, 32.5%)
CIE-LABlab(62.69, -50.06, 39.08)
CIE-LCHlch(62.69, 63.51, 142.02°)
OKLaboklab(66.15% -0.1355 0.0935)
OKLCHoklch(66.15% 0.165 145.4)
XYZxyz(18.3733, 31.2116, 12.2624)
Luminance0.3121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC4E #AC42A0
analogous
#6BAC42 #42AC4E #42AC83
triadic
#42AC4E #4E42AC #AC4E42
tetradic
#42AC4E #426BAC #AC42A0 #AC8342
square
#42AC4E #426BAC #AC42A0 #AC8342
split-complementary
#42AC4E #8342AC #AC426B
monochromatic
#205426 #31803A #42AC4E #67C571 #93D69A

Accessibility & contrast

On white

2.90
#42AC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#42AC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC4E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC4E#FFFFFF#000000##000000
##42AC4E1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D45
Deuteranopia (green-blind)
#A19455
Tritanopia (blue-blind)
#2AA897
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ac4e;
/* rgb */ color: rgb(66, 172, 78);
/* oklch */ color: oklch(66.1% 0.165 145.4);
Tailwind
colors: {
  custom: {
    50: '#82c682',
    500: '#42ac4e',
    950: '#000000',
  },
}
SCSS
$custom: #42ac4e;
$custom-light: #82c682;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac4e",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 126.792,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.6615,
    "c": 0.16461,
    "h": 145.4
  },
  "luminance": 0.31213
}

Semantic roles & 50–950 ramp

primary
#42AC4E
secondary
#C189BB
accent
#54C6D4
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #42AC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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