#42A230#42A230

#42A230 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.2% C 0.176 H 140.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#42A230
RGBrgb(66, 162, 48)
HSLhsl(111, 54%, 41%)
HSVhsv(111, 70%, 64%)
CMYKcmyk(59.3%, 0%, 70.4%, 36.5%)
CIE-LABlab(59.17, -49.66, 48.65)
CIE-LCHlch(59.17, 69.52, 135.59°)
OKLaboklab(63.15% -0.1359 0.111)
OKLCHoklch(63.15% 0.176 140.8)
XYZxyz(15.6999, 27.2109, 7.2206)
Luminance0.2721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A230 #9030A2
analogous
#7BA230 #42A230 #30A257
triadic
#42A230 #3042A2 #A23042
tetradic
#42A230 #307BA2 #9030A2 #A25730
square
#42A230 #307BA2 #9030A2 #A25730
split-complementary
#42A230 #5730A2 #A2307B
monochromatic
#1C4414 #2F7322 #42A230 #5BC847 #85D676

Accessibility & contrast

On white

3.26
#42A230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#42A230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A230
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A230#FFFFFF#000000##000000
##42A2301.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#9A8B3B
Tritanopia (blue-blind)
#359D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a230;
/* rgb */ color: rgb(66, 162, 48);
/* oklch */ color: oklch(63.2% 0.176 140.8);
Tailwind
colors: {
  custom: {
    50: '#81be6f',
    500: '#42a230',
    950: '#000000',
  },
}
SCSS
$custom: #42a230;
$custom-light: #81be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a230",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 110.526,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63153,
    "c": 0.17551,
    "h": 140.8
  },
  "luminance": 0.27212
}

Semantic roles & 50–950 ramp

primary
#42A230
secondary
#B26FBE
accent
#4ADEC6
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A230

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

Preview Lab → · Contrast checker → · Palette generator →

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