#42A423#42A423

#42A423 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.6% C 0.186 H 139.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#42A423
RGBrgb(66, 164, 35)
HSLhsl(106, 65%, 39%)
HSVhsv(106, 79%, 64%)
CMYKcmyk(59.8%, 0%, 78.7%, 35.7%)
CIE-LABlab(59.73, -51.37, 53.93)
CIE-LCHlch(59.73, 74.49, 133.61°)
OKLaboklab(63.59% -0.1413 0.1203)
OKLCHoklch(63.59% 0.186 139.6)
XYZxyz(15.8249, 27.8291, 6.1274)
Luminance0.2783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A423 #8523A4
analogous
#83A423 #42A423 #23A444
triadic
#42A423 #2342A4 #A42342
tetradic
#42A423 #2383A4 #8523A4 #A44423
square
#42A423 #2383A4 #8523A4 #A44423
split-complementary
#42A423 #4423A4 #A42383
monochromatic
#193F0D #2E7218 #42A423 #58D331 #81DE64

Accessibility & contrast

On white

3.20
#42A423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#42A423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A423
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A423#FFFFFF#000000##000000
##42A4231.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#369E8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a423;
/* rgb */ color: rgb(66, 164, 35);
/* oklch */ color: oklch(63.6% 0.186 139.6);
Tailwind
colors: {
  custom: {
    50: '#82c068',
    500: '#42a423',
    950: '#000000',
  },
}
SCSS
$custom: #42a423;
$custom-light: #82c068;
$custom-dark: #000000;
JSON
{
  "hex": "#42a423",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 105.581,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63593,
    "c": 0.18555,
    "h": 139.6
  },
  "luminance": 0.27831
}

Semantic roles & 50–950 ramp

primary
#42A423
secondary
#AB60C3
accent
#40E8BF
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A423

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

Preview Lab → · Contrast checker → · Palette generator →

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