#42AE2F#42AE2F

#42AE2F is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.191 H 140.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#42AE2F
RGBrgb(66, 174, 47)
HSLhsl(111, 57%, 43%)
HSVhsv(111, 73%, 68%)
CMYKcmyk(62.1%, 0%, 73%, 31.8%)
CIE-LABlab(63.04, -54.11, 53.03)
CIE-LCHlch(63.04, 75.76, 135.58°)
OKLaboklab(66.35% -0.148 0.1201)
OKLCHoklch(66.35% 0.191 140.9)
XYZxyz(17.8950, 31.6339, 7.8517)
Luminance0.3164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE2F #9B2FAE
analogous
#81AE2F #42AE2F #2FAE5C
triadic
#42AE2F #2F42AE #AE2F42
tetradic
#42AE2F #2F81AE #9B2FAE #AE5C2F
square
#42AE2F #2F81AE #9B2FAE #AE5C2F
split-complementary
#42AE2F #5C2FAE #AE2F81
monochromatic
#1D4E15 #307E22 #42AE2F #5FCF4C #8ADC7C

Accessibility & contrast

On white

2.87
#42AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#42AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE2F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE2F#FFFFFF#000000##000000
##42AE2F1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E18
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#31A895
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42ae2f;
/* rgb */ color: rgb(66, 174, 47);
/* oklch */ color: oklch(66.3% 0.191 140.9);
Tailwind
colors: {
  custom: {
    50: '#83c770',
    500: '#42ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #42ae2f;
$custom-light: #83c770;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae2f",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 111.024,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66349,
    "c": 0.19058,
    "h": 140.9
  },
  "luminance": 0.31636
}

Semantic roles & 50–950 ramp

primary
#42AE2F
secondary
#B875C4
accent
#47E1CA
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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