#42A950#42A950

#42A950 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.4% C 0.159 H 146.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#42A950
RGBrgb(66, 169, 80)
HSLhsl(128, 44%, 46%)
HSVhsv(128, 61%, 66%)
CMYKcmyk(60.9%, 0%, 52.7%, 33.7%)
CIE-LABlab(61.75, -48.63, 36.96)
CIE-LCHlch(61.75, 61.08, 142.77°)
OKLaboklab(65.39% -0.1316 0.0889)
OKLCHoklch(65.39% 0.159 146)
XYZxyz(17.8816, 30.1117, 12.4577)
Luminance0.3011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A950 #A9429B
analogous
#67A942 #42A950 #42A983
triadic
#42A950 #5042A9 #A95042
tetradic
#42A950 #4267A9 #A9429B #A98342
square
#42A950 #4267A9 #A9429B #A98342
split-complementary
#42A950 #8342A9 #A94267
monochromatic
#205126 #317D3B #42A950 #65C372 #91D49A

Accessibility & contrast

On white

2.99
#42A950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#42A950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A950
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A950#FFFFFF#000000##000000
##42A9501.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B48
Deuteranopia (green-blind)
#9E9256
Tritanopia (blue-blind)
#2AA595
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42a950;
/* rgb */ color: rgb(66, 169, 80);
/* oklch */ color: oklch(65.4% 0.159 146.0);
Tailwind
colors: {
  custom: {
    50: '#81c383',
    500: '#42a950',
    950: '#000000',
  },
}
SCSS
$custom: #42a950;
$custom-light: #81c383;
$custom-dark: #000000;
JSON
{
  "hex": "#42a950",
  "rgb": {
    "r": 66,
    "g": 169,
    "b": 80
  },
  "hsl": {
    "h": 128.155,
    "s": 43.83,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65387,
    "c": 0.1588,
    "h": 146
  },
  "luminance": 0.30113
}

Semantic roles & 50–950 ramp

primary
#42A950
secondary
#C087B8
accent
#54C2D4
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #42A950

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

Preview Lab → · Contrast checker → · Palette generator →

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