#42A22F#42A22F

#42A22F is a light, vivid green. Relative luminance 0.272; OKLCH L 63.1% C 0.176 H 140.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#42A22F
RGBrgb(66, 162, 47)
HSLhsl(110, 55%, 41%)
HSVhsv(110, 71%, 64%)
CMYKcmyk(59.3%, 0%, 71%, 36.5%)
CIE-LABlab(59.16, -49.75, 49.04)
CIE-LCHlch(59.16, 69.86, 135.41°)
OKLaboklab(63.15% -0.1362 0.1117)
OKLCHoklch(63.15% 0.176 140.6)
XYZxyz(15.6795, 27.2027, 7.1132)
Luminance0.2720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A22F #8F2FA2
analogous
#7BA22F #42A22F #2FA255
triadic
#42A22F #2F42A2 #A22F42
tetradic
#42A22F #2F7BA2 #8F2FA2 #A2552F
square
#42A22F #2F7BA2 #8F2FA2 #A2552F
split-complementary
#42A22F #552FA2 #A22F7B
monochromatic
#1B4313 #2F7321 #42A22F #5BC945 #85D775

Accessibility & contrast

On white

3.26
#42A22F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#42A22F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A22F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A22F#FFFFFF#000000##000000
##42A22F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931D
Deuteranopia (green-blind)
#9A8B3A
Tritanopia (blue-blind)
#359D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a22f;
/* rgb */ color: rgb(66, 162, 47);
/* oklch */ color: oklch(63.1% 0.176 140.6);
Tailwind
colors: {
  custom: {
    50: '#81be6e',
    500: '#42a22f',
    950: '#000000',
  },
}
SCSS
$custom: #42a22f;
$custom-light: #81be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#42a22f",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 110.087,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63145,
    "c": 0.17617,
    "h": 140.6
  },
  "luminance": 0.27204
}

Semantic roles & 50–950 ramp

primary
#42A22F
secondary
#B16EBF
accent
#49DEC6
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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