#42A116#42A116

#42A116 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.188 H 138.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#42A116
RGBrgb(66, 161, 22)
HSLhsl(101, 76%, 36%)
HSVhsv(101, 86%, 63%)
CMYKcmyk(59%, 0%, 86.3%, 36.9%)
CIE-LABlab(58.70, -50.97, 56.62)
CIE-LCHlch(58.70, 76.18, 131.99°)
OKLaboklab(62.72% -0.1408 0.1241)
OKLCHoklch(62.72% 0.188 138.6)
XYZxyz(15.1359, 26.7046, 5.1158)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A116 #7516A1
analogous
#87A116 #42A116 #16A12F
triadic
#42A116 #1642A1 #A11642
tetradic
#42A116 #1687A1 #7516A1 #A12F16
square
#42A116 #1687A1 #7516A1 #A12F16
split-complementary
#42A116 #2F16A1 #A11687
monochromatic
#163507 #2C6B0F #42A116 #58D71D #7CE64B

Accessibility & contrast

On white

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

On black

6.34
#42A116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A116
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A116#FFFFFF#000000##000000
##42A1161.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42a116;
/* rgb */ color: rgb(66, 161, 22);
/* oklch */ color: oklch(62.7% 0.188 138.6);
Tailwind
colors: {
  custom: {
    50: '#82be63',
    500: '#42a116',
    950: '#000000',
  },
}
SCSS
$custom: #42a116;
$custom-light: #82be63;
$custom-dark: #000000;
JSON
{
  "hex": "#42a116",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 22
  },
  "hsl": {
    "h": 101.007,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6272,
    "c": 0.1877,
    "h": 138.6
  },
  "luminance": 0.26706
}

Semantic roles & 50–950 ramp

primary
#42A116
secondary
#A04BC8
accent
#35F3B7
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A116

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

Preview Lab → · Contrast checker → · Palette generator →

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