#42A730#42A730

#42A730 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.5% C 0.182 H 140.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#42A730
RGBrgb(66, 167, 48)
HSLhsl(111, 55%, 42%)
HSVhsv(111, 71%, 65%)
CMYKcmyk(60.5%, 0%, 71.3%, 34.5%)
CIE-LABlab(60.79, -51.51, 50.34)
CIE-LCHlch(60.79, 72.02, 135.66°)
OKLaboklab(64.49% -0.1409 0.1146)
OKLCHoklch(64.49% 0.182 140.9)
XYZxyz(16.5982, 29.0076, 7.5201)
Luminance0.2901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A730 #9530A7
analogous
#7EA730 #42A730 #30A759
triadic
#42A730 #3042A7 #A73042
tetradic
#42A730 #307EA7 #9530A7 #A75930
square
#42A730 #307EA7 #9530A7 #A75930
split-complementary
#42A730 #5930A7 #A7307E
monochromatic
#1C4815 #2F7722 #42A730 #5DCB49 #87D879

Accessibility & contrast

On white

3.09
#42A730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#42A730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A730
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A730#FFFFFF#000000##000000
##42A7301.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981D
Deuteranopia (green-blind)
#9F8F3C
Tritanopia (blue-blind)
#33A28F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #42a730;
/* rgb */ color: rgb(66, 167, 48);
/* oklch */ color: oklch(64.5% 0.182 140.9);
Tailwind
colors: {
  custom: {
    50: '#82c26f',
    500: '#42a730',
    950: '#000000',
  },
}
SCSS
$custom: #42a730;
$custom-light: #82c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a730",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 110.924,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64491,
    "c": 0.18161,
    "h": 140.9
  },
  "luminance": 0.29009
}

Semantic roles & 50–950 ramp

primary
#42A730
secondary
#B572C1
accent
#49DFC8
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1208
muted
#7D817B

Preview Lab

Preview with #42A730

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

Preview Lab → · Contrast checker → · Palette generator →

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