#42A018#42A018

#42A018 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.186 H 138.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#42A018
RGBrgb(66, 160, 24)
HSLhsl(101, 74%, 36%)
HSVhsv(101, 85%, 63%)
CMYKcmyk(58.8%, 0%, 85%, 37.3%)
CIE-LABlab(58.38, -50.52, 55.85)
CIE-LCHlch(58.38, 75.31, 132.13°)
OKLaboklab(62.46% -0.1395 0.1227)
OKLCHoklch(62.46% 0.186 138.7)
XYZxyz(14.9819, 26.3645, 5.1633)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A018 #7618A0
analogous
#86A018 #42A018 #18A032
triadic
#42A018 #1842A0 #A01842
tetradic
#42A018 #1886A0 #7618A0 #A03218
square
#42A018 #1886A0 #7618A0 #A03218
split-complementary
#42A018 #3218A0 #A01886
monochromatic
#163608 #2C6B10 #42A018 #58D520 #7CE44E

Accessibility & contrast

On white

3.35
#42A018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#42A018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A018
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A018#FFFFFF#000000##000000
##42A0181.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#389A88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #42a018;
/* rgb */ color: rgb(66, 160, 24);
/* oklch */ color: oklch(62.5% 0.186 138.7);
Tailwind
colors: {
  custom: {
    50: '#82bd63',
    500: '#42a018',
    950: '#000000',
  },
}
SCSS
$custom: #42a018;
$custom-light: #82bd63;
$custom-dark: #000000;
JSON
{
  "hex": "#42a018",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 101.471,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62459,
    "c": 0.18584,
    "h": 138.7
  },
  "luminance": 0.26366
}

Semantic roles & 50–950 ramp

primary
#42A018
secondary
#A14DC6
accent
#37F1B7
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A018

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

Preview Lab → · Contrast checker → · Palette generator →

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