#42A518#42A518

#42A518 is a light, vivid green. Relative luminance 0.281; OKLCH L 63.8% C 0.191 H 138.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#42A518
RGBrgb(66, 165, 24)
HSLhsl(102, 75%, 37%)
HSVhsv(102, 85%, 65%)
CMYKcmyk(60%, 0%, 85.5%, 35.3%)
CIE-LABlab(60.01, -52.32, 57.31)
CIE-LCHlch(60.01, 77.60, 132.40°)
OKLaboklab(63.8% -0.1444 0.1258)
OKLCHoklch(63.8% 0.191 138.9)
XYZxyz(15.8661, 28.1330, 5.4581)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A518 #7B18A5
analogous
#88A518 #42A518 #18A535
triadic
#42A518 #1842A5 #A51842
tetradic
#42A518 #1888A5 #7B18A5 #A53518
square
#42A518 #1888A5 #7B18A5 #A53518
split-complementary
#42A518 #3518A5 #A51888
monochromatic
#173A08 #2D7010 #42A518 #57DA20 #7EE652

Accessibility & contrast

On white

3.17
#42A518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#42A518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A518
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A518#FFFFFF#000000##000000
##42A5181.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#9E8E2B
Tritanopia (blue-blind)
#379F8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #42a518;
/* rgb */ color: rgb(66, 165, 24);
/* oklch */ color: oklch(63.8% 0.191 138.9);
Tailwind
colors: {
  custom: {
    50: '#83c164',
    500: '#42a518',
    950: '#000000',
  },
}
SCSS
$custom: #42a518;
$custom-light: #83c164;
$custom-dark: #000000;
JSON
{
  "hex": "#42a518",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 24
  },
  "hsl": {
    "h": 102.128,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63804,
    "c": 0.19148,
    "h": 138.9
  },
  "luminance": 0.28134
}

Semantic roles & 50–950 ramp

primary
#42A518
secondary
#A551C8
accent
#37F1BA
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A518

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

Preview Lab → · Contrast checker → · Palette generator →

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