#42AD1B#42AD1B

#42AD1B is a light, vivid green. Relative luminance 0.311; OKLCH L 66.0% C 0.199 H 139.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#42AD1B
RGBrgb(66, 173, 27)
HSLhsl(104, 73%, 39%)
HSVhsv(104, 84%, 68%)
CMYKcmyk(61.8%, 0%, 84.4%, 32.2%)
CIE-LABlab(62.61, -55.00, 58.89)
CIE-LCHlch(62.61, 80.58, 133.04°)
OKLaboklab(65.96% -0.1514 0.1296)
OKLCHoklch(65.96% 0.199 139.5)
XYZxyz(17.3874, 31.1229, 6.1277)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD1B #861BAD
analogous
#8BAD1B #42AD1B #1BAD3D
triadic
#42AD1B #1B42AD #AD1B42
tetradic
#42AD1B #1B8BAD #861BAD #AD3D1B
square
#42AD1B #1B8BAD #861BAD #AD3D1B
split-complementary
#42AD1B #3D1BAD #AD1B8B
monochromatic
#1A430A #2E7813 #42AD1B #58DD28 #81E65D

Accessibility & contrast

On white

2.91
#42AD1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#42AD1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AD1B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AD1B#FFFFFF#000000##000000
##42AD1B1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#34A793
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ad1b;
/* rgb */ color: rgb(66, 173, 27);
/* oklch */ color: oklch(66.0% 0.199 139.5);
Tailwind
colors: {
  custom: {
    50: '#84c667',
    500: '#42ad1b',
    950: '#000000',
  },
}
SCSS
$custom: #42ad1b;
$custom-light: #84c667;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad1b",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 27
  },
  "hsl": {
    "h": 103.973,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65961,
    "c": 0.19928,
    "h": 139.5
  },
  "luminance": 0.31125
}

Semantic roles & 50–950 ramp

primary
#42AD1B
secondary
#AC5ACA
accent
#38F0BF
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AD1B

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

Preview Lab → · Contrast checker → · Palette generator →

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