#42AB2E#42AB2E

#42AB2E is a light, vivid green. Relative luminance 0.305; OKLCH L 65.5% C 0.188 H 140.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#42AB2E
RGBrgb(66, 171, 46)
HSLhsl(110, 58%, 43%)
HSVhsv(110, 73%, 67%)
CMYKcmyk(61.4%, 0%, 73.1%, 32.9%)
CIE-LABlab(62.07, -53.12, 52.41)
CIE-LCHlch(62.07, 74.62, 135.39°)
OKLaboklab(65.54% -0.1454 0.1187)
OKLCHoklch(65.54% 0.188 140.8)
XYZxyz(17.3020, 30.4797, 7.5556)
Luminance0.3048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB2E #972EAB
analogous
#81AB2E #42AB2E #2EAB58
triadic
#42AB2E #2E42AB #AB2E42
tetradic
#42AB2E #2E81AB #972EAB #AB582E
square
#42AB2E #2E81AB #972EAB #AB582E
split-complementary
#42AB2E #582EAB #AB2E81
monochromatic
#1D4B14 #2F7B21 #42AB2E #5ECE48 #88DB79

Accessibility & contrast

On white

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

On black

7.10
#42AB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB2E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB2E#FFFFFF#000000##000000
##42AB2E1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B18
Deuteranopia (green-blind)
#A3933B
Tritanopia (blue-blind)
#32A693
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42ab2e;
/* rgb */ color: rgb(66, 171, 46);
/* oklch */ color: oklch(65.5% 0.188 140.8);
Tailwind
colors: {
  custom: {
    50: '#83c56f',
    500: '#42ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #42ab2e;
$custom-light: #83c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab2e",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 110.4,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65542,
    "c": 0.18765,
    "h": 140.8
  },
  "luminance": 0.30481
}

Semantic roles & 50–950 ramp

primary
#42AB2E
secondary
#B672C3
accent
#47E1C8
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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