#42A534#42A534

#42A534 is a light, vivid green. Relative luminance 0.283; OKLCH L 64.0% C 0.176 H 141.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#42A534
RGBrgb(66, 165, 52)
HSLhsl(113, 52%, 43%)
HSVhsv(113, 68%, 65%)
CMYKcmyk(60%, 0%, 68.5%, 35.3%)
CIE-LABlab(60.17, -50.42, 48.08)
CIE-LCHlch(60.17, 69.67, 136.36°)
OKLaboklab(63.99% -0.1377 0.1103)
OKLCHoklch(63.99% 0.176 141.3)
XYZxyz(16.3209, 28.3150, 7.8534)
Luminance0.2832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A534 #9734A5
analogous
#7BA534 #42A534 #34A55E
triadic
#42A534 #3442A5 #A53442
tetradic
#42A534 #347BA5 #9734A5 #A55E34
square
#42A534 #347BA5 #9734A5 #A55E34
split-complementary
#42A534 #5E34A5 #A5347B
monochromatic
#1D4817 #2F7625 #42A534 #5EC74F #88D67D

Accessibility & contrast

On white

3.15
#42A534 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#42A534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A534
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A534#FFFFFF#000000##000000
##42A5341.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99624
Deuteranopia (green-blind)
#9D8E3E
Tritanopia (blue-blind)
#33A08E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #42a534;
/* rgb */ color: rgb(66, 165, 52);
/* oklch */ color: oklch(64.0% 0.176 141.3);
Tailwind
colors: {
  custom: {
    50: '#82c171',
    500: '#42a534',
    950: '#000000',
  },
}
SCSS
$custom: #42a534;
$custom-light: #82c171;
$custom-dark: #000000;
JSON
{
  "hex": "#42a534",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 112.566,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63992,
    "c": 0.17647,
    "h": 141.3
  },
  "luminance": 0.28316
}

Semantic roles & 50–950 ramp

primary
#42A534
secondary
#B676BF
accent
#4CDCCA
background
#F8FBF7
surface
#F0F7ED
border
#CBD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A534

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

Preview Lab → · Contrast checker → · Palette generator →

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