#42B12E#42B12E

#42B12E is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.195 H 140.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#42B12E
RGBrgb(66, 177, 46)
HSLhsl(111, 59%, 44%)
HSVhsv(111, 74%, 69%)
CMYKcmyk(62.7%, 0%, 74%, 30.6%)
CIE-LABlab(64.00, -55.25, 54.36)
CIE-LCHlch(64.00, 77.51, 135.47°)
OKLaboklab(67.14% -0.1511 0.1227)
OKLCHoklch(67.14% 0.195 140.9)
XYZxyz(18.4611, 32.7980, 7.9420)
Luminance0.3280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B12E #9D2EB1
analogous
#83B12E #42B12E #2EB15B
triadic
#42B12E #2E42B1 #B12E42
tetradic
#42B12E #2E83B1 #9D2EB1 #B15B2E
square
#42B12E #2E83B1 #9D2EB1 #B15B2E
split-complementary
#42B12E #5B2EB1 #B12E83
monochromatic
#1E5015 #308021 #42B12E #60D04C #8BDD7C

Accessibility & contrast

On white

2.78
#42B12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#42B12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B12E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B12E#FFFFFF#000000##000000
##42B12E1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A115
Deuteranopia (green-blind)
#A8983C
Tritanopia (blue-blind)
#30AB98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42b12e;
/* rgb */ color: rgb(66, 177, 46);
/* oklch */ color: oklch(67.1% 0.195 140.9);
Tailwind
colors: {
  custom: {
    50: '#84c96f',
    500: '#42b12e',
    950: '#000000',
  },
}
SCSS
$custom: #42b12e;
$custom-light: #84c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#42b12e",
  "rgb": {
    "r": 66,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 110.84,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67139,
    "c": 0.19468,
    "h": 140.9
  },
  "luminance": 0.328
}

Semantic roles & 50–950 ramp

primary
#42B12E
secondary
#B975C6
accent
#46E2CA
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B12E

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

Preview Lab → · Contrast checker → · Palette generator →

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