#42B545#42B545

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

Color values

HEX#42B545
RGBrgb(66, 181, 69)
HSLhsl(122, 47%, 48%)
HSVhsv(122, 64%, 71%)
CMYKcmyk(63.5%, 0%, 61.9%, 29%)
CIE-LABlab(65.46, -54.51, 46.55)
CIE-LCHlch(65.46, 71.69, 139.50°)
OKLaboklab(68.41% -0.1479 0.1089)
OKLCHoklch(68.41% 0.184 143.6)
XYZxyz(19.8436, 34.6337, 11.2683)
Luminance0.3464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B545 #B542B2
analogous
#78B542 #42B545 #42B57E
triadic
#42B545 #4542B5 #B54542
tetradic
#42B545 #4278B5 #B542B2 #B57E42
square
#42B545 #4278B5 #B542B2 #B57E42
split-complementary
#42B545 #7E42B5 #B54278
monochromatic
#215B23 #328834 #42B545 #6BC96E #98D99A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B545#FFFFFF#000000##000000
##42B5451.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)
#B9A538
Deuteranopia (green-blind)
#AA9B4E
Tritanopia (blue-blind)
#29B09D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #42b545;
/* rgb */ color: rgb(66, 181, 69);
/* oklch */ color: oklch(68.4% 0.184 143.6);
Tailwind
colors: {
  custom: {
    50: '#84cc7d',
    500: '#42b545',
    950: '#000000',
  },
}
SCSS
$custom: #42b545;
$custom-light: #84cc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#42b545",
  "rgb": {
    "r": 66,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 121.565,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.68411,
    "c": 0.18371,
    "h": 143.6
  },
  "luminance": 0.34636
}

Semantic roles & 50–950 ramp

primary
#42B545
secondary
#C58EC4
accent
#52D3D6
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #42B545

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

Preview Lab → · Contrast checker → · Palette generator →

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