#42B954#42B954

#42B954 is a light, vivid green. Relative luminance 0.365; OKLCH L 69.6% C 0.176 H 146.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#42B954
RGBrgb(66, 185, 84)
HSLhsl(129, 47%, 49%)
HSVhsv(129, 64%, 73%)
CMYKcmyk(64.3%, 0%, 54.6%, 27.5%)
CIE-LABlab(66.90, -54.11, 41.23)
CIE-LCHlch(66.90, 68.03, 142.69°)
OKLaboklab(69.65% -0.1462 0.0986)
OKLCHoklch(69.65% 0.176 146)
XYZxyz(21.1946, 36.4941, 14.3129)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B954 #B942A7
analogous
#6CB942 #42B954 #42B990
triadic
#42B954 #5442B9 #B95442
tetradic
#42B954 #426CB9 #B942A7 #B99042
square
#42B954 #426CB9 #B942A7 #B99042
split-complementary
#42B954 #9042B9 #B9426C
monochromatic
#225F2B #328C40 #42B954 #6DCB7B #9ADBA4

Accessibility & contrast

On white

2.53
#42B954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#42B954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B954
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B954#FFFFFF#000000##000000
##42B9541.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94B
Deuteranopia (green-blind)
#AD9F5C
Tritanopia (blue-blind)
#21B5A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42b954;
/* rgb */ color: rgb(66, 185, 84);
/* oklch */ color: oklch(69.6% 0.176 146.0);
Tailwind
colors: {
  custom: {
    50: '#84cf87',
    500: '#42b954',
    950: '#000000',
  },
}
SCSS
$custom: #42b954;
$custom-light: #84cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#42b954",
  "rgb": {
    "r": 66,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 129.076,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69647,
    "c": 0.17637,
    "h": 146
  },
  "luminance": 0.36496
}

Semantic roles & 50–950 ramp

primary
#42B954
secondary
#C790BF
accent
#51C3D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #42B954

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

Preview Lab → · Contrast checker → · Palette generator →

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