#42C02F#42C02F

#42C02F is a light, highly saturated green. Relative luminance 0.391; OKLCH L 71.1% C 0.211 H 141.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#42C02F
RGBrgb(66, 192, 47)
HSLhsl(112, 61%, 47%)
HSVhsv(112, 76%, 75%)
CMYKcmyk(65.6%, 0%, 75.5%, 24.7%)
CIE-LABlab(68.80, -60.33, 58.79)
CIE-LCHlch(68.80, 84.24, 135.74°)
OKLaboklab(71.11% -0.1648 0.1321)
OKLCHoklch(71.11% 0.211 141.3)
XYZxyz(21.6084, 39.0606, 9.0895)
Luminance0.3906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C02F #AD2FC0
analogous
#8BC02F #42C02F #2FC065
triadic
#42C02F #2F42C0 #C02F42
tetradic
#42C02F #2F8BC0 #AD2FC0 #C0652F
square
#42C02F #2F8BC0 #AD2FC0 #C0652F
split-complementary
#42C02F #652FC0 #C02F8B
monochromatic
#205E17 #318F23 #42C02F #67D656 #93E288

Accessibility & contrast

On white

2.38
#42C02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#42C02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C02F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C02F#FFFFFF#000000##000000
##42C02F1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#2ABAA4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42c02f;
/* rgb */ color: rgb(66, 192, 47);
/* oklch */ color: oklch(71.1% 0.211 141.3);
Tailwind
colors: {
  custom: {
    50: '#87d472',
    500: '#42c02f',
    950: '#000000',
  },
}
SCSS
$custom: #42c02f;
$custom-light: #87d472;
$custom-dark: #000000;
JSON
{
  "hex": "#42c02f",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 112.138,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71114,
    "c": 0.21121,
    "h": 141.3
  },
  "luminance": 0.39063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C02F

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

Preview Lab → · Contrast checker → · Palette generator →

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