#42AA2E#42AA2E

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

Color values

HEX#42AA2E
RGBrgb(66, 170, 46)
HSLhsl(110, 57%, 42%)
HSVhsv(110, 73%, 67%)
CMYKcmyk(61.2%, 0%, 72.9%, 33.3%)
CIE-LABlab(61.74, -52.76, 52.08)
CIE-LCHlch(61.74, 74.14, 135.37°)
OKLaboklab(65.28% -0.1444 0.118)
OKLCHoklch(65.28% 0.186 140.8)
XYZxyz(17.1138, 30.1034, 7.4929)
Luminance0.3010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AA2E #962EAA
analogous
#80AA2E #42AA2E #2EAA58
triadic
#42AA2E #2E42AA #AA2E42
tetradic
#42AA2E #2E80AA #962EAA #AA582E
square
#42AA2E #2E80AA #962EAA #AA582E
split-complementary
#42AA2E #582EAA #AA2E80
monochromatic
#1D4A14 #2F7A21 #42AA2E #5DCD48 #88DA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AA2E#FFFFFF#000000##000000
##42AA2E1.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)
#AE9A18
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#33A592
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42aa2e;
/* rgb */ color: rgb(66, 170, 46);
/* oklch */ color: oklch(65.3% 0.186 140.8);
Tailwind
colors: {
  custom: {
    50: '#83c46f',
    500: '#42aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #42aa2e;
$custom-light: #83c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#42aa2e",
  "rgb": {
    "r": 66,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 110.323,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65275,
    "c": 0.18646,
    "h": 140.8
  },
  "luminance": 0.30105
}

Semantic roles & 50–950 ramp

primary
#42AA2E
secondary
#B571C3
accent
#47E1C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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