#42A262#42A262

#42A262 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.9% C 0.132 H 151.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#42A262
RGBrgb(66, 162, 98)
HSLhsl(140, 42%, 45%)
HSVhsv(140, 59%, 64%)
CMYKcmyk(59.3%, 0%, 39.5%, 36.5%)
CIE-LABlab(59.78, -42.89, 25.07)
CIE-LCHlch(59.78, 49.68, 149.69°)
OKLaboklab(63.85% -0.1161 0.0624)
OKLCHoklch(63.85% 0.132 151.7)
XYZxyz(17.3704, 27.8791, 16.0187)
Luminance0.2788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A262 #A24282
analogous
#52A242 #42A262 #42A292
triadic
#42A262 #6242A2 #A26242
tetradic
#42A262 #4252A2 #A24282 #A29242
square
#42A262 #4252A2 #A24282 #A29242
split-complementary
#42A262 #9242A2 #A24252
monochromatic
#1F4B2D #307748 #42A262 #62BF81 #8ED1A4

Accessibility & contrast

On white

3.19
#42A262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#42A262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A262
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A262#FFFFFF#000000##000000
##42A2621.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2955E
Deuteranopia (green-blind)
#968C66
Tritanopia (blue-blind)
#25A092
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a262;
/* rgb */ color: rgb(66, 162, 98);
/* oklch */ color: oklch(63.9% 0.132 151.7);
Tailwind
colors: {
  custom: {
    50: '#7fbe8f',
    500: '#42a262',
    950: '#000000',
  },
}
SCSS
$custom: #42a262;
$custom-light: #7fbe8f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a262",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 140,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63854,
    "c": 0.13186,
    "h": 151.7
  },
  "luminance": 0.27881
}

Semantic roles & 50–950 ramp

primary
#42A262
secondary
#BC84A9
accent
#56A9D2
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #42A262

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

Preview Lab → · Contrast checker → · Palette generator →

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