#42AD26#42AD26

#42AD26 is a light, vivid green. Relative luminance 0.312; OKLCH L 66.0% C 0.194 H 140.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#42AD26
RGBrgb(66, 173, 38)
HSLhsl(108, 64%, 41%)
HSVhsv(108, 78%, 68%)
CMYKcmyk(61.8%, 0%, 78%, 32.2%)
CIE-LABlab(62.66, -54.40, 55.78)
CIE-LCHlch(62.66, 77.92, 134.28°)
OKLaboklab(66.02% -0.1493 0.1246)
OKLCHoklch(66.02% 0.194 140.2)
XYZxyz(17.5394, 31.1837, 6.9281)
Luminance0.3119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD26 #9126AD
analogous
#86AD26 #42AD26 #26AD4E
triadic
#42AD26 #2642AD #AD2642
tetradic
#42AD26 #2686AD #9126AD #AD4E26
square
#42AD26 #2686AD #9126AD #AD4E26
split-complementary
#42AD26 #4E26AD #AD2686
monochromatic
#1C4910 #2F7B1B #42AD26 #5CD43C #86DF6E

Accessibility & contrast

On white

2.90
#42AD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#42AD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AD26
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AD26#FFFFFF#000000##000000
##42AD261.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#33A794
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ad26;
/* rgb */ color: rgb(66, 173, 38);
/* oklch */ color: oklch(66.0% 0.194 140.2);
Tailwind
colors: {
  custom: {
    50: '#84c66b',
    500: '#42ad26',
    950: '#000000',
  },
}
SCSS
$custom: #42ad26;
$custom-light: #84c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad26",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 38
  },
  "hsl": {
    "h": 107.556,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6602,
    "c": 0.19442,
    "h": 140.2
  },
  "luminance": 0.31185
}

Semantic roles & 50–950 ramp

primary
#42AD26
secondary
#B369C6
accent
#41E7C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42AD26

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

Preview Lab → · Contrast checker → · Palette generator →

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