#42B422#42B422

#42B422 is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.9% C 0.204 H 140.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#42B422
RGBrgb(66, 180, 34)
HSLhsl(107, 68%, 42%)
HSVhsv(107, 81%, 71%)
CMYKcmyk(63.3%, 0%, 81.1%, 29.4%)
CIE-LABlab(64.89, -57.07, 59.10)
CIE-LCHlch(64.89, 82.16, 134.00°)
OKLaboklab(67.86% -0.1567 0.131)
OKLCHoklch(67.86% 0.204 140.1)
XYZxyz(18.8559, 33.9144, 7.0655)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B422 #9422B4
analogous
#8BB422 #42B422 #22B44B
triadic
#42B422 #2242B4 #B42242
tetradic
#42B422 #228BB4 #9422B4 #B44B22
square
#42B422 #228BB4 #9422B4 #B44B22
split-complementary
#42B422 #4B22B4 #B4228B
monochromatic
#1C4D0F #2F8118 #42B422 #5DDA3A #87E36D

Accessibility & contrast

On white

2.70
#42B422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#42B422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B422
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B422#FFFFFF#000000##000000
##42B4221.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#31AE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b422;
/* rgb */ color: rgb(66, 180, 34);
/* oklch */ color: oklch(67.9% 0.204 140.1);
Tailwind
colors: {
  custom: {
    50: '#85cb6a',
    500: '#42b422',
    950: '#000000',
  },
}
SCSS
$custom: #42b422;
$custom-light: #85cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42b422",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 106.849,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67861,
    "c": 0.20418,
    "h": 140.1
  },
  "luminance": 0.33916
}

Semantic roles & 50–950 ramp

primary
#42B422
secondary
#B468CA
accent
#3DEBC5
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B422

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

Preview Lab → · Contrast checker → · Palette generator →

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