#42B043#42B043

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

Color values

HEX#42B043
RGBrgb(66, 176, 67)
HSLhsl(121, 45%, 47%)
HSVhsv(121, 63%, 69%)
CMYKcmyk(62.5%, 0%, 61.9%, 31%)
CIE-LABlab(63.85, -52.92, 45.62)
CIE-LCHlch(63.85, 69.87, 139.24°)
OKLaboklab(67.07% -0.1437 0.1068)
OKLCHoklch(67.07% 0.179 143.4)
XYZxyz(18.7841, 32.6123, 10.6140)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B043 #B042AF
analogous
#78B042 #42B043 #42B07A
triadic
#42B043 #4342B0 #B04342
tetradic
#42B043 #4278B0 #B042AF #B07A42
square
#42B043 #4278B0 #B042AF #B07A42
split-complementary
#42B043 #7A42B0 #B04278
monochromatic
#215721 #318332 #42B043 #69C769 #95D796

Accessibility & contrast

On white

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

On black

7.52
#42B043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B043
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B043#FFFFFF#000000##000000
##42B0431.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A037
Deuteranopia (green-blind)
#A6974C
Tritanopia (blue-blind)
#2CAB99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42b043;
/* rgb */ color: rgb(66, 176, 67);
/* oklch */ color: oklch(67.1% 0.179 143.4);
Tailwind
colors: {
  custom: {
    50: '#83c97b',
    500: '#42b043',
    950: '#000000',
  },
}
SCSS
$custom: #42b043;
$custom-light: #83c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#42b043",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 120.545,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67069,
    "c": 0.17901,
    "h": 143.4
  },
  "luminance": 0.32614
}

Semantic roles & 50–950 ramp

primary
#42B043
secondary
#C38BC2
accent
#53D4D5
background
#F8FCF7
surface
#F0F8EE
border
#CBD1C9
text
#0C130A
muted
#7D827C

Preview Lab

Preview with #42B043

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

Preview Lab → · Contrast checker → · Palette generator →

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