#42AE25#42AE25

#42AE25 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.196 H 140.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#42AE25
RGBrgb(66, 174, 37)
HSLhsl(107, 65%, 41%)
HSVhsv(107, 79%, 68%)
CMYKcmyk(62.1%, 0%, 78.7%, 31.8%)
CIE-LABlab(62.98, -54.82, 56.40)
CIE-LCHlch(62.98, 78.65, 134.18°)
OKLaboklab(66.28% -0.1504 0.1257)
OKLCHoklch(66.28% 0.196 140.1)
XYZxyz(17.7159, 31.5623, 6.9084)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE25 #9125AE
analogous
#87AE25 #42AE25 #25AE4D
triadic
#42AE25 #2542AE #AE2542
tetradic
#42AE25 #2587AE #9125AE #AE4D25
square
#42AE25 #2587AE #9125AE #AE4D25
split-complementary
#42AE25 #4D25AE #AE2587
monochromatic
#1C4910 #2F7C1A #42AE25 #5CD53B #86E06D

Accessibility & contrast

On white

2.87
#42AE25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#42AE25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE25
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE25#FFFFFF#000000##000000
##42AE251.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A69535
Tritanopia (blue-blind)
#33A895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ae25;
/* rgb */ color: rgb(66, 174, 37);
/* oklch */ color: oklch(66.3% 0.196 140.1);
Tailwind
colors: {
  custom: {
    50: '#84c76b',
    500: '#42ae25',
    950: '#000000',
  },
}
SCSS
$custom: #42ae25;
$custom-light: #84c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae25",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 37
  },
  "hsl": {
    "h": 107.299,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66281,
    "c": 0.19606,
    "h": 140.1
  },
  "luminance": 0.31564
}

Semantic roles & 50–950 ramp

primary
#42AE25
secondary
#B368C6
accent
#40E8C4
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AE25

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

Preview Lab → · Contrast checker → · Palette generator →

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