#42AE23#42AE23

#42AE23 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.197 H 140.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#42AE23
RGBrgb(66, 174, 35)
HSLhsl(107, 67%, 41%)
HSVhsv(107, 80%, 68%)
CMYKcmyk(62.1%, 0%, 79.9%, 31.8%)
CIE-LABlab(62.97, -54.94, 57.01)
CIE-LCHlch(62.97, 79.17, 133.94°)
OKLaboklab(66.27% -0.1509 0.1267)
OKLCHoklch(66.27% 0.197 140)
XYZxyz(17.6854, 31.5500, 6.7476)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE23 #8F23AE
analogous
#87AE23 #42AE23 #23AE4A
triadic
#42AE23 #2342AE #AE2342
tetradic
#42AE23 #2387AE #8F23AE #AE4A23
square
#42AE23 #2387AE #8F23AE #AE4A23
split-complementary
#42AE23 #4A23AE #AE2387
monochromatic
#1B480F #2F7B19 #42AE23 #5BD737 #85E16A

Accessibility & contrast

On white

2.87
#42AE23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#42AE23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE23
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE23#FFFFFF#000000##000000
##42AE231.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#33A894
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ae23;
/* rgb */ color: rgb(66, 174, 35);
/* oklch */ color: oklch(66.3% 0.197 140.0);
Tailwind
colors: {
  custom: {
    50: '#84c76a',
    500: '#42ae23',
    950: '#000000',
  },
}
SCSS
$custom: #42ae23;
$custom-light: #84c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae23",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 35
  },
  "hsl": {
    "h": 106.619,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66269,
    "c": 0.19701,
    "h": 140
  },
  "luminance": 0.31552
}

Semantic roles & 50–950 ramp

primary
#42AE23
secondary
#B166C7
accent
#3EE9C3
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AE23

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

Preview Lab → · Contrast checker → · Palette generator →

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