#42B332#42B332

#42B332 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.195 H 141.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#42B332
RGBrgb(66, 179, 50)
HSLhsl(113, 56%, 45%)
HSVhsv(113, 72%, 70%)
CMYKcmyk(63.1%, 0%, 72.1%, 29.8%)
CIE-LABlab(64.67, -55.64, 53.57)
CIE-LCHlch(64.67, 77.24, 136.09°)
OKLaboklab(67.7% -0.152 0.1216)
OKLCHoklch(67.7% 0.195 141.3)
XYZxyz(18.9416, 33.6269, 8.5094)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B332 #A332B3
analogous
#83B332 #42B332 #32B362
triadic
#42B332 #3242B3 #B33242
tetradic
#42B332 #3283B3 #A332B3 #B36232
square
#42B332 #3283B3 #A332B3 #B36232
split-complementary
#42B332 #6232B3 #B33283
monochromatic
#1F5317 #308325 #42B332 #63CF53 #8EDC83

Accessibility & contrast

On white

2.72
#42B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#42B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B332
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B332#FFFFFF#000000##000000
##42B3321.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A31C
Deuteranopia (green-blind)
#AA993F
Tritanopia (blue-blind)
#2FAD9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b332;
/* rgb */ color: rgb(66, 179, 50);
/* oklch */ color: oklch(67.7% 0.195 141.3);
Tailwind
colors: {
  custom: {
    50: '#84cb72',
    500: '#42b332',
    950: '#000000',
  },
}
SCSS
$custom: #42b332;
$custom-light: #84cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#42b332",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 112.558,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67701,
    "c": 0.19463,
    "h": 141.3
  },
  "luminance": 0.33629
}

Semantic roles & 50–950 ramp

primary
#42B332
secondary
#BC7BC6
accent
#48E0CD
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B332

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

Preview Lab → · Contrast checker → · Palette generator →

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