#42B330#42B330

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

Color values

HEX#42B330
RGBrgb(66, 179, 48)
HSLhsl(112, 58%, 45%)
HSVhsv(112, 73%, 70%)
CMYKcmyk(63.1%, 0%, 73.2%, 29.8%)
CIE-LABlab(64.65, -55.80, 54.30)
CIE-LCHlch(64.65, 77.86, 135.78°)
OKLaboklab(67.69% -0.1525 0.1229)
OKLCHoklch(67.69% 0.196 141.1)
XYZxyz(18.8994, 33.6100, 8.2871)
Luminance0.3361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B330 #A130B3
analogous
#83B330 #42B330 #30B360
triadic
#42B330 #3042B3 #B33042
tetradic
#42B330 #3083B3 #A130B3 #B36030
square
#42B330 #3083B3 #A130B3 #B36030
split-complementary
#42B330 #6030B3 #B33083
monochromatic
#1E5216 #308323 #42B330 #62D050 #8DDD80

Accessibility & contrast

On white

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

On black

7.72
#42B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B330
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B330#FFFFFF#000000##000000
##42B3301.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42b330;
/* rgb */ color: rgb(66, 179, 48);
/* oklch */ color: oklch(67.7% 0.196 141.1);
Tailwind
colors: {
  custom: {
    50: '#84cb71',
    500: '#42b330',
    950: '#000000',
  },
}
SCSS
$custom: #42b330;
$custom-light: #84cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#42b330",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 111.756,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67685,
    "c": 0.19584,
    "h": 141.1
  },
  "luminance": 0.33612
}

Semantic roles & 50–950 ramp

primary
#42B330
secondary
#BB79C6
accent
#47E1CC
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B330

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

Preview Lab → · Contrast checker → · Palette generator →

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