#42A42E#42A42E

#42A42E is a light, vivid green. Relative luminance 0.279; OKLCH L 63.7% C 0.179 H 140.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#42A42E
RGBrgb(66, 164, 46)
HSLhsl(110, 56%, 41%)
HSVhsv(110, 72%, 64%)
CMYKcmyk(59.8%, 0%, 72%, 35.7%)
CIE-LABlab(59.80, -50.58, 50.09)
CIE-LCHlch(59.80, 71.18, 135.27°)
OKLaboklab(63.67% -0.1385 0.1138)
OKLCHoklch(63.67% 0.179 140.6)
XYZxyz(16.0146, 27.9050, 7.1265)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A42E #902EA4
analogous
#7DA42E #42A42E #2EA455
triadic
#42A42E #2E42A4 #A42E42
tetradic
#42A42E #2E7DA4 #902EA4 #A4552E
square
#42A42E #2E7DA4 #902EA4 #A4552E
split-complementary
#42A42E #552EA4 #A42E7D
monochromatic
#1C4413 #2F7421 #42A42E #5BCB45 #85D874

Accessibility & contrast

On white

3.19
#42A42E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#42A42E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A42E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A42E#FFFFFF#000000##000000
##42A42E1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951B
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#359F8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a42e;
/* rgb */ color: rgb(66, 164, 46);
/* oklch */ color: oklch(63.7% 0.179 140.6);
Tailwind
colors: {
  custom: {
    50: '#82c06e',
    500: '#42a42e',
    950: '#000000',
  },
}
SCSS
$custom: #42a42e;
$custom-light: #82c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#42a42e",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 109.831,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63672,
    "c": 0.17926,
    "h": 140.6
  },
  "luminance": 0.27906
}

Semantic roles & 50–950 ramp

primary
#42A42E
secondary
#B26EC0
accent
#48DFC6
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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