#42B22D#42B22D

#42B22D is a light, vivid green. Relative luminance 0.332; OKLCH L 67.4% C 0.196 H 140.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#42B22D
RGBrgb(66, 178, 45)
HSLhsl(111, 60%, 44%)
HSVhsv(111, 75%, 70%)
CMYKcmyk(62.9%, 0%, 74.7%, 30.2%)
CIE-LABlab(64.31, -55.68, 55.03)
CIE-LCHlch(64.31, 78.28, 135.33°)
OKLaboklab(67.4% -0.1523 0.124)
OKLCHoklch(67.4% 0.196 140.9)
XYZxyz(18.6399, 33.1867, 7.9055)
Luminance0.3319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B22D #9D2DB2
analogous
#84B22D #42B22D #2DB25A
triadic
#42B22D #2D42B2 #B22D42
tetradic
#42B22D #2D84B2 #9D2DB2 #B25A2D
square
#42B22D #2D84B2 #9D2DB2 #B25A2D
split-complementary
#42B22D #5A2DB2 #B22D84
monochromatic
#1E5014 #308121 #42B22D #60D14B #8BDE7C

Accessibility & contrast

On white

2.75
#42B22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#42B22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B22D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B22D#FFFFFF#000000##000000
##42B22D1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A212
Deuteranopia (green-blind)
#A9983B
Tritanopia (blue-blind)
#30AC98
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42b22d;
/* rgb */ color: rgb(66, 178, 45);
/* oklch */ color: oklch(67.4% 0.196 140.9);
Tailwind
colors: {
  custom: {
    50: '#84ca6f',
    500: '#42b22d',
    950: '#000000',
  },
}
SCSS
$custom: #42b22d;
$custom-light: #84ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#42b22d",
  "rgb": {
    "r": 66,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 110.526,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67398,
    "c": 0.19642,
    "h": 140.9
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

primary
#42B22D
secondary
#B975C6
accent
#45E3CA
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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