#42B548#42B548

#42B548 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.4% C 0.181 H 144.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#42B548
RGBrgb(66, 181, 72)
HSLhsl(123, 47%, 48%)
HSVhsv(123, 64%, 71%)
CMYKcmyk(63.5%, 0%, 60.2%, 29%)
CIE-LABlab(65.49, -54.17, 45.23)
CIE-LCHlch(65.49, 70.57, 140.14°)
OKLaboklab(68.44% -0.1468 0.1064)
OKLCHoklch(68.44% 0.181 144.1)
XYZxyz(19.9391, 34.6719, 11.7712)
Luminance0.3467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B548 #B542AF
analogous
#75B542 #42B548 #42B581
triadic
#42B548 #4842B5 #B54842
tetradic
#42B548 #4275B5 #B542AF #B58142
square
#42B548 #4275B5 #B542AF #B58142
split-complementary
#42B548 #8142B5 #B54275
monochromatic
#215B24 #328836 #42B548 #6BC970 #98D99B

Accessibility & contrast

On white

2.65
#42B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#42B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B548
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B548#FFFFFF#000000##000000
##42B5481.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A53C
Deuteranopia (green-blind)
#AA9B51
Tritanopia (blue-blind)
#28B09D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #42b548;
/* rgb */ color: rgb(66, 181, 72);
/* oklch */ color: oklch(68.4% 0.181 144.1);
Tailwind
colors: {
  custom: {
    50: '#84cc7f',
    500: '#42b548',
    950: '#000000',
  },
}
SCSS
$custom: #42b548;
$custom-light: #84cc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#42b548",
  "rgb": {
    "r": 66,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 123.13,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68445,
    "c": 0.18132,
    "h": 144.1
  },
  "luminance": 0.34674
}

Semantic roles & 50–950 ramp

primary
#42B548
secondary
#C58EC2
accent
#52CFD6
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #42B548

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

Preview Lab → · Contrast checker → · Palette generator →

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