#42A23E#42A23E

#42A23E is a light, vivid green. Relative luminance 0.273; OKLCH L 63.3% C 0.165 H 142.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#42A23E
RGBrgb(66, 162, 62)
HSLhsl(118, 45%, 44%)
HSVhsv(118, 62%, 64%)
CMYKcmyk(59.3%, 0%, 61.7%, 36.5%)
CIE-LABlab(59.29, -48.25, 42.73)
CIE-LCHlch(59.29, 64.45, 138.48°)
OKLaboklab(63.3% -0.1313 0.1001)
OKLCHoklch(63.3% 0.165 142.7)
XYZxyz(16.0357, 27.3453, 8.9896)
Luminance0.2735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A23E #9E3EA2
analogous
#74A23E #42A23E #3EA26C
triadic
#42A23E #3E42A2 #A23E42
tetradic
#42A23E #3E74A2 #9E3EA2 #A26C3E
square
#42A23E #3E74A2 #9E3EA2 #A26C3E
split-complementary
#42A23E #6C3EA2 #A23E74
monochromatic
#1E491C #30762D #42A23E #60C15C #8CD289

Accessibility & contrast

On white

3.25
#42A23E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#42A23E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A23E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A23E#FFFFFF#000000##000000
##42A23E1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59433
Deuteranopia (green-blind)
#998C46
Tritanopia (blue-blind)
#329D8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #42a23e;
/* rgb */ color: rgb(66, 162, 62);
/* oklch */ color: oklch(63.3% 0.165 142.7);
Tailwind
colors: {
  custom: {
    50: '#81be77',
    500: '#42a23e',
    950: '#000000',
  },
}
SCSS
$custom: #42a23e;
$custom-light: #81be77;
$custom-dark: #000000;
JSON
{
  "hex": "#42a23e",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 117.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63295,
    "c": 0.1651,
    "h": 142.7
  },
  "luminance": 0.27347
}

Semantic roles & 50–950 ramp

primary
#42A23E
secondary
#BA80BC
accent
#53D4CF
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #42A23E

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

Preview Lab → · Contrast checker → · Palette generator →

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