#42A429#42A429

#42A429 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.182 H 140.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#42A429
RGBrgb(66, 164, 41)
HSLhsl(108, 60%, 40%)
HSVhsv(108, 75%, 64%)
CMYKcmyk(59.8%, 0%, 75%, 35.7%)
CIE-LABlab(59.77, -50.96, 51.92)
CIE-LCHlch(59.77, 72.76, 134.47°)
OKLaboklab(63.63% -0.1398 0.117)
OKLCHoklch(63.63% 0.182 140.1)
XYZxyz(15.9217, 27.8678, 6.6374)
Luminance0.2787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A429 #8B29A4
analogous
#7FA429 #42A429 #29A44E
triadic
#42A429 #2942A4 #A42942
tetradic
#42A429 #297FA4 #8B29A4 #A44E29
square
#42A429 #297FA4 #8B29A4 #A44E29
split-complementary
#42A429 #4E29A4 #A4297F
monochromatic
#1B4211 #2E731D #42A429 #5ACE3C #83DA6D

Accessibility & contrast

On white

3.19
#42A429 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#42A429 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A429
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A429#FFFFFF#000000##000000
##42A4291.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99510
Deuteranopia (green-blind)
#9C8D36
Tritanopia (blue-blind)
#359F8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a429;
/* rgb */ color: rgb(66, 164, 41);
/* oklch */ color: oklch(63.6% 0.182 140.1);
Tailwind
colors: {
  custom: {
    50: '#82c06b',
    500: '#42a429',
    950: '#000000',
  },
}
SCSS
$custom: #42a429;
$custom-light: #82c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#42a429",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 107.805,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63633,
    "c": 0.1823,
    "h": 140.1
  },
  "luminance": 0.27869
}

Semantic roles & 50–950 ramp

primary
#42A429
secondary
#AF68C1
accent
#45E3C3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A429

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

Preview Lab → · Contrast checker → · Palette generator →

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