#42A830#42A830

#42A830 is a light, vivid green. Relative luminance 0.294; OKLCH L 64.8% C 0.183 H 140.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#42A830
RGBrgb(66, 168, 48)
HSLhsl(111, 56%, 42%)
HSVhsv(111, 71%, 66%)
CMYKcmyk(60.7%, 0%, 71.4%, 34.1%)
CIE-LABlab(61.11, -51.87, 50.67)
CIE-LCHlch(61.11, 72.51, 135.67°)
OKLaboklab(64.76% -0.1419 0.1153)
OKLCHoklch(64.76% 0.183 140.9)
XYZxyz(16.7821, 29.3754, 7.5814)
Luminance0.2938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A830 #9630A8
analogous
#7EA830 #42A830 #30A85A
triadic
#42A830 #3042A8 #A83042
tetradic
#42A830 #307EA8 #9630A8 #A85A30
square
#42A830 #307EA8 #9630A8 #A85A30
split-complementary
#42A830 #5A30A8 #A8307E
monochromatic
#1D4915 #2F7822 #42A830 #5DCB4A #88D97A

Accessibility & contrast

On white

3.05
#42A830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#42A830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A830
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A830#FFFFFF#000000##000000
##42A8301.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991D
Deuteranopia (green-blind)
#A0903C
Tritanopia (blue-blind)
#33A390
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #42a830;
/* rgb */ color: rgb(66, 168, 48);
/* oklch */ color: oklch(64.8% 0.183 140.9);
Tailwind
colors: {
  custom: {
    50: '#82c36f',
    500: '#42a830',
    950: '#000000',
  },
}
SCSS
$custom: #42a830;
$custom-light: #82c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a830",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 111,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64758,
    "c": 0.18282,
    "h": 140.9
  },
  "luminance": 0.29377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A830

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

Preview Lab → · Contrast checker → · Palette generator →

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