#42A246#42A246

#42A246 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.4% C 0.158 H 144.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#42A246
RGBrgb(66, 162, 70)
HSLhsl(123, 42%, 45%)
HSVhsv(123, 59%, 64%)
CMYKcmyk(59.3%, 0%, 56.8%, 36.5%)
CIE-LABlab(59.38, -47.28, 39.04)
CIE-LCHlch(59.38, 61.31, 140.46°)
OKLaboklab(63.39% -0.1283 0.0928)
OKLCHoklch(63.39% 0.158 144.1)
XYZxyz(16.2716, 27.4396, 10.2321)
Luminance0.2744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A246 #A2429E
analogous
#6EA242 #42A246 #42A276
triadic
#42A246 #4642A2 #A24642
tetradic
#42A246 #426EA2 #A2429E #A27642
square
#42A246 #426EA2 #A2429E #A27642
split-complementary
#42A246 #7642A2 #A2426E
monochromatic
#1F4B20 #307733 #42A246 #62BF66 #8ED190

Accessibility & contrast

On white

3.24
#42A246 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#42A246 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A246
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A246#FFFFFF#000000##000000
##42A2461.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5943D
Deuteranopia (green-blind)
#998C4D
Tritanopia (blue-blind)
#309E8E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #42a246;
/* rgb */ color: rgb(66, 162, 70);
/* oklch */ color: oklch(63.4% 0.158 144.1);
Tailwind
colors: {
  custom: {
    50: '#80be7c',
    500: '#42a246',
    950: '#000000',
  },
}
SCSS
$custom: #42a246;
$custom-light: #80be7c;
$custom-dark: #000000;
JSON
{
  "hex": "#42a246",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 122.5,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63394,
    "c": 0.15834,
    "h": 144.1
  },
  "luminance": 0.27441
}

Semantic roles & 50–950 ramp

primary
#42A246
secondary
#BC84BA
accent
#56CDD2
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #42A246

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

Preview Lab → · Contrast checker → · Palette generator →

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