#42B045#42B045

#42B045 is a light, vivid green. Relative luminance 0.326; OKLCH L 67.1% C 0.177 H 143.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#42B045
RGBrgb(66, 176, 69)
HSLhsl(122, 45%, 47%)
HSVhsv(122, 63%, 69%)
CMYKcmyk(62.5%, 0%, 60.8%, 31%)
CIE-LABlab(63.87, -52.69, 44.73)
CIE-LCHlch(63.87, 69.12, 139.67°)
OKLaboklab(67.09% -0.143 0.105)
OKLCHoklch(67.09% 0.177 143.7)
XYZxyz(18.8452, 32.6368, 10.9355)
Luminance0.3264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B045 #B042AD
analogous
#76B042 #42B045 #42B07C
triadic
#42B045 #4542B0 #B04542
tetradic
#42B045 #4276B0 #B042AD #B07C42
square
#42B045 #4276B0 #B042AD #B07C42
split-complementary
#42B045 #7C42B0 #B04276
monochromatic
#215722 #318334 #42B045 #69C76B #95D797

Accessibility & contrast

On white

2.79
#42B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#42B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B045
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B045#FFFFFF#000000##000000
##42B0451.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A039
Deuteranopia (green-blind)
#A6974E
Tritanopia (blue-blind)
#2BAB99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42b045;
/* rgb */ color: rgb(66, 176, 69);
/* oklch */ color: oklch(67.1% 0.177 143.7);
Tailwind
colors: {
  custom: {
    50: '#83c87c',
    500: '#42b045',
    950: '#000000',
  },
}
SCSS
$custom: #42b045;
$custom-light: #83c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#42b045",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 121.636,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67092,
    "c": 0.17742,
    "h": 143.7
  },
  "luminance": 0.32639
}

Semantic roles & 50–950 ramp

primary
#42B045
secondary
#C38BC1
accent
#53D2D5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #42B045

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

Preview Lab → · Contrast checker → · Palette generator →

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