#42B421#42B421

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

Color values

HEX#42B421
RGBrgb(66, 180, 33)
HSLhsl(107, 69%, 42%)
HSVhsv(107, 82%, 71%)
CMYKcmyk(63.3%, 0%, 81.7%, 29.4%)
CIE-LABlab(64.89, -57.12, 59.38)
CIE-LCHlch(64.89, 82.40, 133.89°)
OKLaboklab(67.86% -0.1568 0.1314)
OKLCHoklch(67.86% 0.205 140)
XYZxyz(18.8417, 33.9088, 6.9907)
Luminance0.3391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B421 #9321B4
analogous
#8BB421 #42B421 #21B44A
triadic
#42B421 #2142B4 #B42142
tetradic
#42B421 #218BB4 #9321B4 #B44A21
square
#42B421 #218BB4 #9321B4 #B44A21
split-complementary
#42B421 #4A21B4 #B4218B
monochromatic
#1C4D0E #2F8018 #42B421 #5CDA38 #87E46B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B421#FFFFFF#000000##000000
##42B4211.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)
#AB9A33
Tritanopia (blue-blind)
#31AE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b421;
/* rgb */ color: rgb(66, 180, 33);
/* oklch */ color: oklch(67.9% 0.205 140.0);
Tailwind
colors: {
  custom: {
    50: '#85cb6a',
    500: '#42b421',
    950: '#000000',
  },
}
SCSS
$custom: #42b421;
$custom-light: #85cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42b421",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 106.531,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67856,
    "c": 0.20462,
    "h": 140
  },
  "luminance": 0.33911
}

Semantic roles & 50–950 ramp

primary
#42B421
secondary
#B467CA
accent
#3CECC4
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B421

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

Preview Lab → · Contrast checker → · Palette generator →

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