#42AA28#42AA28

#42AA28 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.2% C 0.190 H 140.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#42AA28
RGBrgb(66, 170, 40)
HSLhsl(108, 62%, 41%)
HSVhsv(108, 76%, 67%)
CMYKcmyk(61.2%, 0%, 76.5%, 33.3%)
CIE-LABlab(61.71, -53.20, 54.19)
CIE-LCHlch(61.71, 75.94, 134.47°)
OKLaboklab(65.23% -0.1459 0.1215)
OKLCHoklch(65.23% 0.19 140.2)
XYZxyz(17.0037, 30.0593, 6.9130)
Luminance0.3006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AA28 #9028AA
analogous
#83AA28 #42AA28 #28AA4F
triadic
#42AA28 #2842AA #AA2842
tetradic
#42AA28 #2883AA #9028AA #AA4F28
square
#42AA28 #2883AA #9028AA #AA4F28
split-complementary
#42AA28 #4F28AA #AA2883
monochromatic
#1C4711 #2F781C #42AA28 #5BD23E #85DD6F

Accessibility & contrast

On white

2.99
#42AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#42AA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AA28
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AA28#FFFFFF#000000##000000
##42AA281.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#34A491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42aa28;
/* rgb */ color: rgb(66, 170, 40);
/* oklch */ color: oklch(65.2% 0.190 140.2);
Tailwind
colors: {
  custom: {
    50: '#83c46c',
    500: '#42aa28',
    950: '#000000',
  },
}
SCSS
$custom: #42aa28;
$custom-light: #83c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#42aa28",
  "rgb": {
    "r": 66,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 108,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65232,
    "c": 0.18992,
    "h": 140.2
  },
  "luminance": 0.30061
}

Semantic roles & 50–950 ramp

primary
#42AA28
secondary
#B26AC4
accent
#43E5C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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