#42B52F#42B52F

#42B52F is a light, vivid green. Relative luminance 0.344; OKLCH L 68.2% C 0.199 H 141.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#42B52F
RGBrgb(66, 181, 47)
HSLhsl(111, 59%, 45%)
HSVhsv(111, 74%, 71%)
CMYKcmyk(63.5%, 0%, 74%, 29%)
CIE-LABlab(65.29, -56.57, 55.30)
CIE-LCHlch(65.29, 79.11, 135.65°)
OKLaboklab(68.21% -0.1546 0.1248)
OKLCHoklch(68.21% 0.199 141.1)
XYZxyz(19.2828, 34.4094, 8.3143)
Luminance0.3441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B52F #A22FB5
analogous
#85B52F #42B52F #2FB55F
triadic
#42B52F #2F42B5 #B52F42
tetradic
#42B52F #2F85B5 #A22FB5 #B55F2F
square
#42B52F #2F85B5 #A22FB5 #B55F2F
split-complementary
#42B52F #5F2FB5 #B52F85
monochromatic
#1F5416 #308422 #42B52F #62D150 #8EDE80

Accessibility & contrast

On white

2.66
#42B52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#42B52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B52F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B52F#FFFFFF#000000##000000
##42B52F1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA415
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#2EAF9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42b52f;
/* rgb */ color: rgb(66, 181, 47);
/* oklch */ color: oklch(68.2% 0.199 141.1);
Tailwind
colors: {
  custom: {
    50: '#85cc70',
    500: '#42b52f',
    950: '#000000',
  },
}
SCSS
$custom: #42b52f;
$custom-light: #85cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#42b52f",
  "rgb": {
    "r": 66,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 111.493,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68208,
    "c": 0.19873,
    "h": 141.1
  },
  "luminance": 0.34411
}

Semantic roles & 50–950 ramp

primary
#42B52F
secondary
#BC79C7
accent
#46E2CC
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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