#42AE2B#42AE2B

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

Color values

HEX#42AE2B
RGBrgb(66, 174, 43)
HSLhsl(109, 60%, 43%)
HSVhsv(109, 75%, 68%)
CMYKcmyk(62.1%, 0%, 75.3%, 31.8%)
CIE-LABlab(63.01, -54.41, 54.44)
CIE-LCHlch(63.01, 76.97, 134.99°)
OKLaboklab(66.32% -0.149 0.1225)
OKLCHoklch(66.32% 0.193 140.6)
XYZxyz(17.8180, 31.6031, 7.4461)
Luminance0.3160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE2B #972BAE
analogous
#83AE2B #42AE2B #2BAE56
triadic
#42AE2B #2B42AE #AE2B42
tetradic
#42AE2B #2B83AE #972BAE #AE562B
square
#42AE2B #2B83AE #972BAE #AE562B
split-complementary
#42AE2B #562BAE #AE2B83
monochromatic
#1D4C13 #2F7D1F #42AE2B #5ED145 #88DD76

Accessibility & contrast

On white

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

On black

7.32
#42AE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE2B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE2B#FFFFFF#000000##000000
##42AE2B1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#32A895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ae2b;
/* rgb */ color: rgb(66, 174, 43);
/* oklch */ color: oklch(66.3% 0.193 140.6);
Tailwind
colors: {
  custom: {
    50: '#84c76e',
    500: '#42ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #42ae2b;
$custom-light: #84c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae2b",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 109.466,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6632,
    "c": 0.19291,
    "h": 140.6
  },
  "luminance": 0.31605
}

Semantic roles & 50–950 ramp

primary
#42AE2B
secondary
#B670C5
accent
#44E4C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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