#42A623#42A623

#42A623 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.1% C 0.188 H 139.7°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#42A623
RGBrgb(66, 166, 35)
HSLhsl(106, 65%, 39%)
HSVhsv(106, 79%, 65%)
CMYKcmyk(60.2%, 0%, 78.9%, 34.9%)
CIE-LABlab(60.38, -52.10, 54.55)
CIE-LCHlch(60.38, 75.43, 133.68°)
OKLaboklab(64.13% -0.1432 0.1216)
OKLCHoklch(64.13% 0.188 139.7)
XYZxyz(16.1856, 28.5506, 6.2476)
Luminance0.2855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A623 #8723A6
analogous
#83A623 #42A623 #23A646
triadic
#42A623 #2342A6 #A62342
tetradic
#42A623 #2383A6 #8723A6 #A64623
square
#42A623 #2383A6 #8723A6 #A64623
split-complementary
#42A623 #4623A6 #A62383
monochromatic
#1A410E #2E7318 #42A623 #59D432 #82DF65

Accessibility & contrast

On white

3.13
#42A623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#42A623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A623
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A623#FFFFFF#000000##000000
##42A6231.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#9F8E32
Tritanopia (blue-blind)
#35A08E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a623;
/* rgb */ color: rgb(66, 166, 35);
/* oklch */ color: oklch(64.1% 0.188 139.7);
Tailwind
colors: {
  custom: {
    50: '#83c169',
    500: '#42a623',
    950: '#000000',
  },
}
SCSS
$custom: #42a623;
$custom-light: #83c169;
$custom-dark: #000000;
JSON
{
  "hex": "#42a623",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 105.802,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6413,
    "c": 0.18788,
    "h": 139.7
  },
  "luminance": 0.28552
}

Semantic roles & 50–950 ramp

primary
#42A623
secondary
#AC61C4
accent
#40E8C0
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A623

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

Preview Lab → · Contrast checker → · Palette generator →

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