#42A718#42A718

#42A718 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.194 H 139.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#42A718
RGBrgb(66, 167, 24)
HSLhsl(102, 75%, 37%)
HSVhsv(102, 86%, 65%)
CMYKcmyk(60.5%, 0%, 85.6%, 34.5%)
CIE-LABlab(60.66, -53.03, 57.88)
CIE-LCHlch(60.66, 78.50, 132.49°)
OKLaboklab(64.34% -0.1463 0.127)
OKLCHoklch(64.34% 0.194 139)
XYZxyz(16.2297, 28.8602, 5.5793)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A718 #7D18A7
analogous
#89A718 #42A718 #18A736
triadic
#42A718 #1842A7 #A71842
tetradic
#42A718 #1889A7 #7D18A7 #A73618
square
#42A718 #1889A7 #7D18A7 #A73618
split-complementary
#42A718 #3618A7 #A71889
monochromatic
#183C09 #2D7110 #42A718 #57DD20 #7EE653

Accessibility & contrast

On white

3.10
#42A718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#42A718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A718
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A718#FFFFFF#000000##000000
##42A7181.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#36A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a718;
/* rgb */ color: rgb(66, 167, 24);
/* oklch */ color: oklch(64.3% 0.194 139.0);
Tailwind
colors: {
  custom: {
    50: '#83c265',
    500: '#42a718',
    950: '#000000',
  },
}
SCSS
$custom: #42a718;
$custom-light: #83c265;
$custom-dark: #000000;
JSON
{
  "hex": "#42a718",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 24
  },
  "hsl": {
    "h": 102.378,
    "s": 74.869,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64341,
    "c": 0.19372,
    "h": 139
  },
  "luminance": 0.28862
}

Semantic roles & 50–950 ramp

primary
#42A718
secondary
#A652C9
accent
#36F1BB
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A718

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

Preview Lab → · Contrast checker → · Palette generator →

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