#42AA1B#42AA1B

#42AA1B is a light, vivid green. Relative luminance 0.300; OKLCH L 65.2% C 0.196 H 139.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#42AA1B
RGBrgb(66, 170, 27)
HSLhsl(104, 73%, 39%)
HSVhsv(104, 84%, 67%)
CMYKcmyk(61.2%, 0%, 84.1%, 33.3%)
CIE-LABlab(61.64, -53.95, 58.02)
CIE-LCHlch(61.64, 79.23, 132.92°)
OKLaboklab(65.16% -0.1486 0.1277)
OKLCHoklch(65.16% 0.196 139.3)
XYZxyz(16.8186, 29.9853, 5.9381)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AA1B #831BAA
analogous
#89AA1B #42AA1B #1BAA3B
triadic
#42AA1B #1B42AA #AA1B42
tetradic
#42AA1B #1B89AA #831BAA #AA3B1B
square
#42AA1B #1B89AA #831BAA #AA3B1B
split-complementary
#42AA1B #3B1BAA #AA1B89
monochromatic
#19400A #2D7513 #42AA1B #58DC26 #80E55B

Accessibility & contrast

On white

3.00
#42AA1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#42AA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AA1B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AA1B#FFFFFF#000000##000000
##42AA1B1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A2922E
Tritanopia (blue-blind)
#35A491
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42aa1b;
/* rgb */ color: rgb(66, 170, 27);
/* oklch */ color: oklch(65.2% 0.196 139.3);
Tailwind
colors: {
  custom: {
    50: '#84c466',
    500: '#42aa1b',
    950: '#000000',
  },
}
SCSS
$custom: #42aa1b;
$custom-light: #84c466;
$custom-dark: #000000;
JSON
{
  "hex": "#42aa1b",
  "rgb": {
    "r": 66,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 103.636,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.19595,
    "h": 139.3
  },
  "luminance": 0.29987
}

Semantic roles & 50–950 ramp

primary
#42AA1B
secondary
#AA58C9
accent
#39EFBD
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1306
muted
#7D827A

Preview Lab

Preview with #42AA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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