#42A652#42A652

#42A652 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.6% C 0.153 H 146.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#42A652
RGBrgb(66, 166, 82)
HSLhsl(130, 43%, 45%)
HSVhsv(130, 60%, 65%)
CMYKcmyk(60.2%, 0%, 50.6%, 34.9%)
CIE-LABlab(60.82, -47.17, 34.80)
CIE-LCHlch(60.82, 58.62, 143.58°)
OKLaboklab(64.63% -0.1276 0.0842)
OKLCHoklch(64.63% 0.153 146.6)
XYZxyz(17.4048, 29.0382, 12.6687)
Luminance0.2904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A652 #A64296
analogous
#64A642 #42A652 #42A684
triadic
#42A652 #5242A6 #A65242
tetradic
#42A652 #4264A6 #A64296 #A68442
square
#42A652 #4264A6 #A64296 #A68442
split-complementary
#42A652 #8442A6 #A64264
monochromatic
#1F4E27 #317A3C #42A652 #64C173 #90D39A

Accessibility & contrast

On white

3.08
#42A652 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#42A652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A652
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A652#FFFFFF#000000##000000
##42A6521.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984B
Deuteranopia (green-blind)
#9B8F58
Tritanopia (blue-blind)
#2BA292
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #42a652;
/* rgb */ color: rgb(66, 166, 82);
/* oklch */ color: oklch(64.6% 0.153 146.6);
Tailwind
colors: {
  custom: {
    50: '#80c184',
    500: '#42a652',
    950: '#000000',
  },
}
SCSS
$custom: #42a652;
$custom-light: #80c184;
$custom-dark: #000000;
JSON
{
  "hex": "#42a652",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 129.6,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64626,
    "c": 0.15288,
    "h": 146.6
  },
  "luminance": 0.2904
}

Semantic roles & 50–950 ramp

primary
#42A652
secondary
#BE86B5
accent
#55BFD3
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #42A652

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

Preview Lab → · Contrast checker → · Palette generator →

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