#42B415#42B415

#42B415 is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.8% C 0.209 H 139.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#42B415
RGBrgb(66, 180, 21)
HSLhsl(103, 79%, 39%)
HSVhsv(103, 88%, 71%)
CMYKcmyk(63.3%, 0%, 88.3%, 29.4%)
CIE-LABlab(64.85, -57.65, 62.21)
CIE-LCHlch(64.85, 84.81, 132.82°)
OKLaboklab(67.81% -0.1587 0.1358)
OKLCHoklch(67.81% 0.209 139.5)
XYZxyz(18.7026, 33.8531, 6.2580)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B415 #8715B4
analogous
#92B415 #42B415 #15B438
triadic
#42B415 #1542B4 #B41542
tetradic
#42B415 #1592B4 #8715B4 #B43815
square
#42B415 #1592B4 #8715B4 #B43815
split-complementary
#42B415 #3815B4 #B41592
monochromatic
#1A4608 #2E7D0F #42B415 #59E521 #82EC58

Accessibility & contrast

On white

2.70
#42B415 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#42B415 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B415
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B415#FFFFFF#000000##000000
##42B4151.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#32AE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b415;
/* rgb */ color: rgb(66, 180, 21);
/* oklch */ color: oklch(67.8% 0.209 139.5);
Tailwind
colors: {
  custom: {
    50: '#86cb66',
    500: '#42b415',
    950: '#000000',
  },
}
SCSS
$custom: #42b415;
$custom-light: #86cb66;
$custom-dark: #000000;
JSON
{
  "hex": "#42b415",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 21
  },
  "hsl": {
    "h": 103.019,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67805,
    "c": 0.20889,
    "h": 139.5
  },
  "luminance": 0.33855
}

Semantic roles & 50–950 ramp

primary
#42B415
secondary
#AC56CF
accent
#32F6BE
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B415

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

Preview Lab → · Contrast checker → · Palette generator →

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