#42A529#42A529

#42A529 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.9% C 0.183 H 140.1°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#42A529
RGBrgb(66, 165, 41)
HSLhsl(108, 60%, 40%)
HSVhsv(108, 75%, 65%)
CMYKcmyk(60%, 0%, 75.2%, 35.3%)
CIE-LABlab(60.09, -51.33, 52.25)
CIE-LCHlch(60.09, 73.24, 134.49°)
OKLaboklab(63.9% -0.1408 0.1176)
OKLCHoklch(63.9% 0.183 140.1)
XYZxyz(16.1014, 28.2272, 6.6973)
Luminance0.2823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A529 #8C29A5
analogous
#80A529 #42A529 #29A54E
triadic
#42A529 #2942A5 #A52942
tetradic
#42A529 #2980A5 #8C29A5 #A54E29
square
#42A529 #2980A5 #8C29A5 #A54E29
split-complementary
#42A529 #4E29A5 #A52980
monochromatic
#1B4311 #2E741D #42A529 #5ACF3D #84DB6E

Accessibility & contrast

On white

3.16
#42A529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#42A529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A529
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A529#FFFFFF#000000##000000
##42A5291.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9610
Deuteranopia (green-blind)
#9D8E36
Tritanopia (blue-blind)
#35A08D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #42a529;
/* rgb */ color: rgb(66, 165, 41);
/* oklch */ color: oklch(63.9% 0.183 140.1);
Tailwind
colors: {
  custom: {
    50: '#82c16b',
    500: '#42a529',
    950: '#000000',
  },
}
SCSS
$custom: #42a529;
$custom-light: #82c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#42a529",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 107.903,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63901,
    "c": 0.18349,
    "h": 140.1
  },
  "luminance": 0.28229
}

Semantic roles & 50–950 ramp

primary
#42A529
secondary
#B068C2
accent
#44E3C3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A529

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

Preview Lab → · Contrast checker → · Palette generator →

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