#42A261#42A261

#42A261 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.8% C 0.133 H 151.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#42A261
RGBrgb(66, 162, 97)
HSLhsl(139, 42%, 45%)
HSVhsv(139, 59%, 64%)
CMYKcmyk(59.3%, 0%, 40.1%, 36.5%)
CIE-LABlab(59.76, -43.07, 25.59)
CIE-LCHlch(59.76, 50.10, 149.29°)
OKLaboklab(63.83% -0.1166 0.0636)
OKLCHoklch(63.83% 0.133 151.4)
XYZxyz(17.3235, 27.8604, 15.7716)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A261 #A24283
analogous
#53A242 #42A261 #42A291
triadic
#42A261 #6142A2 #A26142
tetradic
#42A261 #4253A2 #A24283 #A29142
square
#42A261 #4253A2 #A24283 #A29142
split-complementary
#42A261 #9142A2 #A24253
monochromatic
#1F4B2D #307747 #42A261 #62BF80 #8ED1A3

Accessibility & contrast

On white

3.20
#42A261 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#42A261 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A261
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A261#FFFFFF#000000##000000
##42A2611.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3955C
Deuteranopia (green-blind)
#968C65
Tritanopia (blue-blind)
#26A092
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a261;
/* rgb */ color: rgb(66, 162, 97);
/* oklch */ color: oklch(63.8% 0.133 151.4);
Tailwind
colors: {
  custom: {
    50: '#7fbe8e',
    500: '#42a261',
    950: '#000000',
  },
}
SCSS
$custom: #42a261;
$custom-light: #7fbe8e;
$custom-dark: #000000;
JSON
{
  "hex": "#42a261",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 97
  },
  "hsl": {
    "h": 139.375,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63834,
    "c": 0.13284,
    "h": 151.4
  },
  "luminance": 0.27862
}

Semantic roles & 50–950 ramp

primary
#42A261
secondary
#BC84AA
accent
#56AAD2
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #42A261

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

Preview Lab → · Contrast checker → · Palette generator →

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