#42A12E#42A12E

#42A12E is a light, vivid green. Relative luminance 0.268; OKLCH L 62.9% C 0.176 H 140.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#42A12E
RGBrgb(66, 161, 46)
HSLhsl(110, 56%, 41%)
HSVhsv(110, 71%, 63%)
CMYKcmyk(59%, 0%, 71.4%, 36.9%)
CIE-LABlab(58.83, -49.46, 49.09)
CIE-LCHlch(58.83, 69.69, 135.22°)
OKLaboklab(62.87% -0.1355 0.1117)
OKLCHoklch(62.87% 0.176 140.5)
XYZxyz(15.4841, 26.8439, 6.9497)
Luminance0.2685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A12E #8D2EA1
analogous
#7BA12E #42A12E #2EA153
triadic
#42A12E #2E42A1 #A12E42
tetradic
#42A12E #2E7BA1 #8D2EA1 #A1532E
square
#42A12E #2E7BA1 #8D2EA1 #A1532E
split-complementary
#42A12E #532EA1 #A12E7B
monochromatic
#1B4213 #2E7120 #42A12E #5AC943 #84D773

Accessibility & contrast

On white

3.30
#42A12E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#42A12E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A12E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A12E#FFFFFF#000000##000000
##42A12E1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921C
Deuteranopia (green-blind)
#998B39
Tritanopia (blue-blind)
#359C8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a12e;
/* rgb */ color: rgb(66, 161, 46);
/* oklch */ color: oklch(62.9% 0.176 140.5);
Tailwind
colors: {
  custom: {
    50: '#81be6e',
    500: '#42a12e',
    950: '#000000',
  },
}
SCSS
$custom: #42a12e;
$custom-light: #81be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#42a12e",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 109.565,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.62868,
    "c": 0.17561,
    "h": 140.5
  },
  "luminance": 0.26845
}

Semantic roles & 50–950 ramp

primary
#42A12E
secondary
#B06CBE
accent
#49DFC5
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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