#42AE26#42AE26

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

Color values

HEX#42AE26
RGBrgb(66, 174, 38)
HSLhsl(108, 64%, 42%)
HSVhsv(108, 78%, 68%)
CMYKcmyk(62.1%, 0%, 78.2%, 31.8%)
CIE-LABlab(62.98, -54.75, 56.09)
CIE-LCHlch(62.98, 78.38, 134.31°)
OKLaboklab(66.29% -0.1502 0.1252)
OKLCHoklch(66.29% 0.196 140.2)
XYZxyz(17.7318, 31.5686, 6.9923)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE26 #9226AE
analogous
#86AE26 #42AE26 #26AE4E
triadic
#42AE26 #2642AE #AE2642
tetradic
#42AE26 #2686AE #9226AE #AE4E26
square
#42AE26 #2686AE #9226AE #AE4E26
split-complementary
#42AE26 #4E26AE #AE2686
monochromatic
#1C4A10 #2F7C1B #42AE26 #5CD53D #86E06F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42AE26#FFFFFF#000000##000000
##42AE261.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)
#A69536
Tritanopia (blue-blind)
#32A895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ae26;
/* rgb */ color: rgb(66, 174, 38);
/* oklch */ color: oklch(66.3% 0.196 140.2);
Tailwind
colors: {
  custom: {
    50: '#84c76b',
    500: '#42ae26',
    950: '#000000',
  },
}
SCSS
$custom: #42ae26;
$custom-light: #84c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae26",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 38
  },
  "hsl": {
    "h": 107.647,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66287,
    "c": 0.19557,
    "h": 140.2
  },
  "luminance": 0.3157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42AE26

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

Preview Lab → · Contrast checker → · Palette generator →

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