#42B027#42B027

#42B027 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.8% C 0.197 H 140.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#42B027
RGBrgb(66, 176, 39)
HSLhsl(108, 64%, 42%)
HSVhsv(108, 78%, 69%)
CMYKcmyk(62.5%, 0%, 77.8%, 31%)
CIE-LABlab(63.63, -55.39, 56.39)
CIE-LCHlch(63.63, 79.05, 134.49°)
OKLaboklab(66.83% -0.1519 0.126)
OKLCHoklch(66.83% 0.197 140.3)
XYZxyz(18.1375, 32.3537, 7.2081)
Luminance0.3236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B027 #9527B0
analogous
#87B027 #42B027 #27B050
triadic
#42B027 #2742B0 #B02742
tetradic
#42B027 #2787B0 #9527B0 #B05027
square
#42B027 #2787B0 #9527B0 #B05027
split-complementary
#42B027 #5027B0 #B02787
monochromatic
#1C4C11 #2F7E1C #42B027 #5DD540 #87E072

Accessibility & contrast

On white

2.81
#42B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#42B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B027
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B027#FFFFFF#000000##000000
##42B0271.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#A89737
Tritanopia (blue-blind)
#32AA96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42b027;
/* rgb */ color: rgb(66, 176, 39);
/* oklch */ color: oklch(66.8% 0.197 140.3);
Tailwind
colors: {
  custom: {
    50: '#84c96c',
    500: '#42b027',
    950: '#000000',
  },
}
SCSS
$custom: #42b027;
$custom-light: #84c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#42b027",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 108.175,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66826,
    "c": 0.19734,
    "h": 140.3
  },
  "luminance": 0.32355
}

Semantic roles & 50–950 ramp

primary
#42B027
secondary
#B56CC7
accent
#41E7C6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B027

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

Preview Lab → · Contrast checker → · Palette generator →

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