#42AB25#42AB25

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

Color values

HEX#42AB25
RGBrgb(66, 171, 37)
HSLhsl(107, 64%, 41%)
HSVhsv(107, 78%, 67%)
CMYKcmyk(61.4%, 0%, 78.4%, 32.9%)
CIE-LABlab(62.01, -53.76, 55.48)
CIE-LCHlch(62.01, 77.25, 134.10°)
OKLaboklab(65.48% -0.1476 0.1238)
OKLCHoklch(65.48% 0.193 140)
XYZxyz(17.1428, 30.4160, 6.7174)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB25 #8E25AB
analogous
#85AB25 #42AB25 #25AB4B
triadic
#42AB25 #2542AB #AB2542
tetradic
#42AB25 #2585AB #8E25AB #AB4B25
square
#42AB25 #2585AB #8E25AB #AB4B25
split-complementary
#42AB25 #4B25AB #AB2585
monochromatic
#1B460F #2F791A #42AB25 #5BD439 #84DF6B

Accessibility & contrast

On white

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

On black

7.08
#42AB25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB25
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB25#FFFFFF#000000##000000
##42AB251.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A39334
Tritanopia (blue-blind)
#34A592
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42ab25;
/* rgb */ color: rgb(66, 171, 37);
/* oklch */ color: oklch(65.5% 0.193 140.0);
Tailwind
colors: {
  custom: {
    50: '#83c56a',
    500: '#42ab25',
    950: '#000000',
  },
}
SCSS
$custom: #42ab25;
$custom-light: #83c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab25",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 37
  },
  "hsl": {
    "h": 107.015,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6548,
    "c": 0.19264,
    "h": 140
  },
  "luminance": 0.30418
}

Semantic roles & 50–950 ramp

primary
#42AB25
secondary
#B167C5
accent
#40E7C3
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AB25

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

Preview Lab → · Contrast checker → · Palette generator →

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