#42A666#42A666

#42A666 is a light, vivid green. Relative luminance 0.294; OKLCH L 65.0% C 0.134 H 152.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#42A666
RGBrgb(66, 166, 102)
HSLhsl(142, 43%, 45%)
HSVhsv(142, 60%, 65%)
CMYKcmyk(60.2%, 0%, 38.6%, 34.9%)
CIE-LABlab(61.12, -43.81, 24.69)
CIE-LCHlch(61.12, 50.29, 150.59°)
OKLaboklab(64.98% -0.1187 0.0616)
OKLCHoklch(64.98% 0.134 152.6)
XYZxyz(18.2798, 29.3882, 17.2770)
Luminance0.2939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A666 #A64282
analogous
#50A642 #42A666 #42A698
triadic
#42A666 #6642A6 #A66642
tetradic
#42A666 #4250A6 #A64282 #A69842
square
#42A666 #4250A6 #A64282 #A69842
split-complementary
#42A666 #9842A6 #A64250
monochromatic
#1F4E30 #317A4B #42A666 #64C186 #90D3A8

Accessibility & contrast

On white

3.05
#42A666 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#42A666 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A666
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A666#FFFFFF#000000##000000
##42A6661.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69962
Deuteranopia (green-blind)
#99906A
Tritanopia (blue-blind)
#21A496
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #42a666;
/* rgb */ color: rgb(66, 166, 102);
/* oklch */ color: oklch(65.0% 0.134 152.6);
Tailwind
colors: {
  custom: {
    50: '#80c192',
    500: '#42a666',
    950: '#000000',
  },
}
SCSS
$custom: #42a666;
$custom-light: #80c192;
$custom-dark: #000000;
JSON
{
  "hex": "#42a666",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 102
  },
  "hsl": {
    "h": 141.6,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64979,
    "c": 0.13371,
    "h": 152.6
  },
  "luminance": 0.2939
}

Semantic roles & 50–950 ramp

primary
#42A666
secondary
#BE86AA
accent
#55A6D3
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #42A666

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

Preview Lab → · Contrast checker → · Palette generator →

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