#42C12F#42C12F

#42C12F is a light, highly saturated green. Relative luminance 0.395; OKLCH L 71.4% C 0.212 H 141.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#42C12F
RGBrgb(66, 193, 47)
HSLhsl(112, 61%, 47%)
HSVhsv(112, 76%, 76%)
CMYKcmyk(65.8%, 0%, 75.6%, 24.3%)
CIE-LABlab(69.11, -60.67, 59.10)
CIE-LCHlch(69.11, 84.70, 135.75°)
OKLaboklab(71.38% -0.1657 0.1328)
OKLCHoklch(71.38% 0.212 141.3)
XYZxyz(21.8287, 39.5012, 9.1629)
Luminance0.3950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C12F #AE2FC1
analogous
#8BC12F #42C12F #2FC165
triadic
#42C12F #2F42C1 #C12F42
tetradic
#42C12F #2F8BC1 #AE2FC1 #C1652F
square
#42C12F #2F8BC1 #AE2FC1 #C1652F
split-complementary
#42C12F #652FC1 #C12F8B
monochromatic
#205F17 #319023 #42C12F #68D657 #94E288

Accessibility & contrast

On white

2.36
#42C12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#42C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C12F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C12F#FFFFFF#000000##000000
##42C12F1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0D
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#29BBA5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #42c12f;
/* rgb */ color: rgb(66, 193, 47);
/* oklch */ color: oklch(71.4% 0.212 141.3);
Tailwind
colors: {
  custom: {
    50: '#87d572',
    500: '#42c12f',
    950: '#000000',
  },
}
SCSS
$custom: #42c12f;
$custom-light: #87d572;
$custom-dark: #000000;
JSON
{
  "hex": "#42c12f",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 112.192,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71377,
    "c": 0.21233,
    "h": 141.3
  },
  "luminance": 0.39503
}

Semantic roles & 50–950 ramp

primary
#42C12F
secondary
#C280CC
accent
#44E4CF
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1408
muted
#7E837B

Preview Lab

Preview with #42C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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