#42B33F#42B33F

#42B33F is a light, vivid green. Relative luminance 0.338; OKLCH L 67.8% C 0.186 H 142.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#42B33F
RGBrgb(66, 179, 63)
HSLhsl(118, 48%, 47%)
HSVhsv(118, 65%, 70%)
CMYKcmyk(63.1%, 0%, 64.8%, 29.8%)
CIE-LABlab(64.77, -54.44, 48.42)
CIE-LCHlch(64.77, 72.86, 138.35°)
OKLaboklab(67.82% -0.148 0.1123)
OKLCHoklch(67.82% 0.186 142.8)
XYZxyz(19.2630, 33.7554, 10.2020)
Luminance0.3376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B33F #B03FB3
analogous
#7CB33F #42B33F #3FB376
triadic
#42B33F #3F42B3 #B33F42
tetradic
#42B33F #3F7CB3 #B03FB3 #B3763F
square
#42B33F #3F7CB3 #B03FB3 #B3763F
split-complementary
#42B33F #763FB3 #B33F7C
monochromatic
#21581F #31862F #42B33F #69C966 #95D993

Accessibility & contrast

On white

2.71
#42B33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#42B33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B33F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B33F#FFFFFF#000000##000000
##42B33F1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A331
Deuteranopia (green-blind)
#A99949
Tritanopia (blue-blind)
#2CAE9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b33f;
/* rgb */ color: rgb(66, 179, 63);
/* oklch */ color: oklch(67.8% 0.186 142.8);
Tailwind
colors: {
  custom: {
    50: '#84cb79',
    500: '#42b33f',
    950: '#000000',
  },
}
SCSS
$custom: #42b33f;
$custom-light: #84cb79;
$custom-dark: #000000;
JSON
{
  "hex": "#42b33f",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 118.448,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67819,
    "c": 0.1858,
    "h": 142.8
  },
  "luminance": 0.33757
}

Semantic roles & 50–950 ramp

primary
#42B33F
secondary
#C389C4
accent
#50D8D4
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C1309
muted
#7D827B

Preview Lab

Preview with #42B33F

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

Preview Lab → · Contrast checker → · Palette generator →

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