#42A120#42A120

#42A120 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.8% C 0.184 H 139.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#42A120
RGBrgb(66, 161, 32)
HSLhsl(104, 67%, 38%)
HSVhsv(104, 80%, 63%)
CMYKcmyk(59%, 0%, 80.1%, 36.9%)
CIE-LABlab(58.74, -50.46, 53.94)
CIE-LCHlch(58.74, 73.86, 133.09°)
OKLaboklab(62.77% -0.139 0.1199)
OKLCHoklch(62.77% 0.184 139.2)
XYZxyz(15.2517, 26.7509, 5.7259)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A120 #7F20A1
analogous
#82A120 #42A120 #20A13E
triadic
#42A120 #2042A1 #A12042
tetradic
#42A120 #2082A1 #7F20A1 #A13E20
square
#42A120 #2082A1 #7F20A1 #A13E20
split-complementary
#42A120 #3E20A1 #A12082
monochromatic
#183B0C #2D6E16 #42A120 #57D42A #7FDF5D

Accessibility & contrast

On white

3.31
#42A120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#42A120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A120
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A120#FFFFFF#000000##000000
##42A1201.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#379B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a120;
/* rgb */ color: rgb(66, 161, 32);
/* oklch */ color: oklch(62.8% 0.184 139.2);
Tailwind
colors: {
  custom: {
    50: '#82be67',
    500: '#42a120',
    950: '#000000',
  },
}
SCSS
$custom: #42a120;
$custom-light: #82be67;
$custom-dark: #000000;
JSON
{
  "hex": "#42a120",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 104.186,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62769,
    "c": 0.18354,
    "h": 139.2
  },
  "luminance": 0.26752
}

Semantic roles & 50–950 ramp

primary
#42A120
secondary
#A75AC3
accent
#3EEABC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A120

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

Preview Lab → · Contrast checker → · Palette generator →

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