#42A021#42A021

#42A021 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.182 H 139.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#42A021
RGBrgb(66, 160, 33)
HSLhsl(104, 66%, 38%)
HSVhsv(104, 79%, 63%)
CMYKcmyk(58.8%, 0%, 79.4%, 37.3%)
CIE-LABlab(58.42, -50.04, 53.32)
CIE-LCHlch(58.42, 73.12, 133.18°)
OKLaboklab(62.51% -0.1378 0.1187)
OKLCHoklch(62.51% 0.182 139.3)
XYZxyz(15.0915, 26.4083, 5.7406)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A021 #7F21A0
analogous
#82A021 #42A021 #21A03F
triadic
#42A021 #2142A0 #A02142
tetradic
#42A021 #2182A0 #7F21A0 #A03F21
square
#42A021 #2182A0 #7F21A0 #A03F21
split-complementary
#42A021 #3F21A0 #A02182
monochromatic
#183B0C #2D6D17 #42A021 #57D32B #7FDE5E

Accessibility & contrast

On white

3.34
#42A021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#42A021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A021
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A021#FFFFFF#000000##000000
##42A0211.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#998A30
Tritanopia (blue-blind)
#379A88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #42a021;
/* rgb */ color: rgb(66, 160, 33);
/* oklch */ color: oklch(62.5% 0.182 139.3);
Tailwind
colors: {
  custom: {
    50: '#82bd67',
    500: '#42a021',
    950: '#000000',
  },
}
SCSS
$custom: #42a021;
$custom-light: #82bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#42a021",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 104.409,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62506,
    "c": 0.18189,
    "h": 139.3
  },
  "luminance": 0.2641
}

Semantic roles & 50–950 ramp

primary
#42A021
secondary
#A75BC2
accent
#3FE9BD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #42A021

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

Preview Lab → · Contrast checker → · Palette generator →

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