#42B22F#42B22F

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

Color values

HEX#42B22F
RGBrgb(66, 178, 47)
HSLhsl(111, 58%, 44%)
HSVhsv(111, 74%, 70%)
CMYKcmyk(62.9%, 0%, 73.6%, 30.2%)
CIE-LABlab(64.32, -55.53, 54.33)
CIE-LCHlch(64.32, 77.69, 135.62°)
OKLaboklab(67.41% -0.1518 0.1228)
OKLCHoklch(67.41% 0.195 141)
XYZxyz(18.6793, 33.2025, 8.1131)
Luminance0.3320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B22F #9F2FB2
analogous
#84B22F #42B22F #2FB25E
triadic
#42B22F #2F42B2 #B22F42
tetradic
#42B22F #2F84B2 #9F2FB2 #B25E2F
square
#42B22F #2F84B2 #9F2FB2 #B25E2F
split-complementary
#42B22F #5E2FB2 #B22F84
monochromatic
#1E5115 #308222 #42B22F #61D04E #8CDD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B22F#FFFFFF#000000##000000
##42B22F1.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)
#B7A216
Deuteranopia (green-blind)
#A9983D
Tritanopia (blue-blind)
#30AC99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42b22f;
/* rgb */ color: rgb(66, 178, 47);
/* oklch */ color: oklch(67.4% 0.195 141.0);
Tailwind
colors: {
  custom: {
    50: '#84ca70',
    500: '#42b22f',
    950: '#000000',
  },
}
SCSS
$custom: #42b22f;
$custom-light: #84ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#42b22f",
  "rgb": {
    "r": 66,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 111.298,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.19526,
    "h": 141
  },
  "luminance": 0.33204
}

Semantic roles & 50–950 ramp

primary
#42B22F
secondary
#BA77C6
accent
#46E1CB
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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