#42B02B#42B02B

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

Color values

HEX#42B02B
RGBrgb(66, 176, 43)
HSLhsl(110, 61%, 43%)
HSVhsv(110, 76%, 69%)
CMYKcmyk(62.5%, 0%, 75.6%, 31%)
CIE-LABlab(63.66, -55.12, 55.08)
CIE-LCHlch(63.66, 77.92, 135.02°)
OKLaboklab(66.85% -0.1509 0.1238)
OKLCHoklch(66.85% 0.195 140.6)
XYZxyz(18.2073, 32.3816, 7.5758)
Luminance0.3238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B02B #992BB0
analogous
#84B02B #42B02B #2BB056
triadic
#42B02B #2B42B0 #B02B42
tetradic
#42B02B #2B84B0 #992BB0 #B0562B
square
#42B02B #2B84B0 #992BB0 #B0562B
split-complementary
#42B02B #562BB0 #B02B84
monochromatic
#1D4E13 #307F1F #42B02B #5ED246 #89DE78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B02B#FFFFFF#000000##000000
##42B02B1.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)
#B5A00E
Deuteranopia (green-blind)
#A79739
Tritanopia (blue-blind)
#31AA97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42b02b;
/* rgb */ color: rgb(66, 176, 43);
/* oklch */ color: oklch(66.9% 0.195 140.6);
Tailwind
colors: {
  custom: {
    50: '#84c96e',
    500: '#42b02b',
    950: '#000000',
  },
}
SCSS
$custom: #42b02b;
$custom-light: #84c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b02b",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 109.624,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.19522,
    "h": 140.6
  },
  "luminance": 0.32383
}

Semantic roles & 50–950 ramp

primary
#42B02B
secondary
#B771C6
accent
#44E4C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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