#42B02A#42B02A

#42B02A is a light, vivid green. Relative luminance 0.324; OKLCH L 66.8% C 0.196 H 140.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#42B02A
RGBrgb(66, 176, 42)
HSLhsl(109, 61%, 43%)
HSVhsv(109, 76%, 69%)
CMYKcmyk(62.5%, 0%, 76.1%, 31%)
CIE-LABlab(63.65, -55.19, 55.42)
CIE-LCHlch(63.65, 78.21, 134.88°)
OKLaboklab(66.85% -0.1512 0.1244)
OKLCHoklch(66.85% 0.196 140.6)
XYZxyz(18.1891, 32.3744, 7.4804)
Luminance0.3238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B02A #982AB0
analogous
#85B02A #42B02A #2AB055
triadic
#42B02A #2A42B0 #B02A42
tetradic
#42B02A #2A85B0 #982AB0 #B0552A
square
#42B02A #2A85B0 #982AB0 #B0552A
split-complementary
#42B02A #552AB0 #B02A85
monochromatic
#1D4D12 #2F7F1E #42B02A #5ED345 #89DE76

Accessibility & contrast

On white

2.81
#42B02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#42B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B02A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B02A#FFFFFF#000000##000000
##42B02A1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00B
Deuteranopia (green-blind)
#A79739
Tritanopia (blue-blind)
#31AA97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42b02a;
/* rgb */ color: rgb(66, 176, 42);
/* oklch */ color: oklch(66.8% 0.196 140.6);
Tailwind
colors: {
  custom: {
    50: '#84c96d',
    500: '#42b02a',
    950: '#000000',
  },
}
SCSS
$custom: #42b02a;
$custom-light: #84c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#42b02a",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 109.254,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66845,
    "c": 0.19577,
    "h": 140.6
  },
  "luminance": 0.32376
}

Semantic roles & 50–950 ramp

primary
#42B02A
secondary
#B770C6
accent
#43E5C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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