#42A12F#42A12F

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

Color values

HEX#42A12F
RGBrgb(66, 161, 47)
HSLhsl(110, 55%, 41%)
HSVhsv(110, 71%, 63%)
CMYKcmyk(59%, 0%, 70.8%, 36.9%)
CIE-LABlab(58.84, -49.38, 48.70)
CIE-LCHlch(58.84, 69.35, 135.40°)
OKLaboklab(62.88% -0.1352 0.111)
OKLCHoklch(62.88% 0.175 140.6)
XYZxyz(15.5040, 26.8518, 7.0547)
Luminance0.2685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A12F #8E2FA1
analogous
#7BA12F #42A12F #2FA155
triadic
#42A12F #2F42A1 #A12F42
tetradic
#42A12F #2F7BA1 #8E2FA1 #A1552F
square
#42A12F #2F7BA1 #8E2FA1 #A1552F
split-complementary
#42A12F #552FA1 #A12F7B
monochromatic
#1B4213 #2F7221 #42A12F #5BC945 #84D674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A12F#FFFFFF#000000##000000
##42A12F1.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)
#A5921D
Deuteranopia (green-blind)
#998B3A
Tritanopia (blue-blind)
#359C8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a12f;
/* rgb */ color: rgb(66, 161, 47);
/* oklch */ color: oklch(62.9% 0.175 140.6);
Tailwind
colors: {
  custom: {
    50: '#81be6e',
    500: '#42a12f',
    950: '#000000',
  },
}
SCSS
$custom: #42a12f;
$custom-light: #81be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#42a12f",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 110,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62877,
    "c": 0.17495,
    "h": 140.6
  },
  "luminance": 0.26853
}

Semantic roles & 50–950 ramp

primary
#42A12F
secondary
#B16EBE
accent
#4ADEC5
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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