#42A121#42A121

#42A121 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.8% C 0.183 H 139.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#42A121
RGBrgb(66, 161, 33)
HSLhsl(105, 66%, 38%)
HSVhsv(105, 80%, 63%)
CMYKcmyk(59%, 0%, 79.5%, 36.9%)
CIE-LABlab(58.75, -50.40, 53.63)
CIE-LCHlch(58.75, 73.60, 133.22°)
OKLaboklab(62.78% -0.1388 0.1194)
OKLCHoklch(62.78% 0.183 139.3)
XYZxyz(15.2655, 26.7565, 5.7986)
Luminance0.2676 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A121 #8021A1
analogous
#82A121 #42A121 #21A140
triadic
#42A121 #2142A1 #A12142
tetradic
#42A121 #2182A1 #8021A1 #A14021
square
#42A121 #2182A1 #8021A1 #A14021
split-complementary
#42A121 #4021A1 #A12182
monochromatic
#183B0C #2D6E17 #42A121 #57D42C #7FDE5E

Accessibility & contrast

On white

3.31
#42A121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#42A121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A121
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A121#FFFFFF#000000##000000
##42A1211.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A30
Tritanopia (blue-blind)
#379B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a121;
/* rgb */ color: rgb(66, 161, 33);
/* oklch */ color: oklch(62.8% 0.183 139.3);
Tailwind
colors: {
  custom: {
    50: '#82be67',
    500: '#42a121',
    950: '#000000',
  },
}
SCSS
$custom: #42a121;
$custom-light: #82be67;
$custom-dark: #000000;
JSON
{
  "hex": "#42a121",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 104.531,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62775,
    "c": 0.18305,
    "h": 139.3
  },
  "luminance": 0.26758
}

Semantic roles & 50–950 ramp

primary
#42A121
secondary
#A85BC3
accent
#3FE9BD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A121

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

Preview Lab → · Contrast checker → · Palette generator →

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