#42AB28#42AB28

#42AB28 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.5% C 0.191 H 140.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#42AB28
RGBrgb(66, 171, 40)
HSLhsl(108, 62%, 41%)
HSVhsv(108, 77%, 67%)
CMYKcmyk(61.4%, 0%, 76.6%, 32.9%)
CIE-LABlab(62.03, -53.56, 54.50)
CIE-LCHlch(62.03, 76.42, 134.50°)
OKLaboklab(65.5% -0.1469 0.1222)
OKLCHoklch(65.5% 0.191 140.2)
XYZxyz(17.1919, 30.4357, 6.9758)
Luminance0.3044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB28 #9128AB
analogous
#84AB28 #42AB28 #28AB50
triadic
#42AB28 #2842AB #AB2842
tetradic
#42AB28 #2884AB #9128AB #AB5028
square
#42AB28 #2884AB #9128AB #AB5028
split-complementary
#42AB28 #5028AB #AB2884
monochromatic
#1C4811 #2F791C #42AB28 #5CD23E #86DE70

Accessibility & contrast

On white

2.96
#42AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#42AB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB28
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB28#FFFFFF#000000##000000
##42AB281.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B08
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#33A592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42ab28;
/* rgb */ color: rgb(66, 171, 40);
/* oklch */ color: oklch(65.5% 0.191 140.2);
Tailwind
colors: {
  custom: {
    50: '#83c56c',
    500: '#42ab28',
    950: '#000000',
  },
}
SCSS
$custom: #42ab28;
$custom-light: #83c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab28",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 108.092,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65499,
    "c": 0.19108,
    "h": 140.2
  },
  "luminance": 0.30437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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