#42B42B#42B42B

#42B42B is a light, vivid green. Relative luminance 0.340; OKLCH L 67.9% C 0.200 H 140.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#42B42B
RGBrgb(66, 180, 43)
HSLhsl(110, 61%, 44%)
HSVhsv(110, 76%, 71%)
CMYKcmyk(63.3%, 0%, 76.1%, 29.4%)
CIE-LABlab(64.94, -56.52, 56.35)
CIE-LCHlch(64.94, 79.80, 135.09°)
OKLaboklab(67.92% -0.1547 0.1265)
OKLCHoklch(67.92% 0.2 140.7)
XYZxyz(19.0031, 33.9733, 7.8411)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B42B #9D2BB4
analogous
#86B42B #42B42B #2BB458
triadic
#42B42B #2B42B4 #B42B42
tetradic
#42B42B #2B86B4 #9D2BB4 #B4582B
square
#42B42B #2B86B4 #9D2BB4 #B4582B
split-complementary
#42B42B #582BB4 #B42B86
monochromatic
#1E5113 #30831F #42B42B #60D349 #8BDF7A

Accessibility & contrast

On white

2.69
#42B42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#42B42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B42B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B42B#FFFFFF#000000##000000
##42B42B1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30B
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#30AE9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42b42b;
/* rgb */ color: rgb(66, 180, 43);
/* oklch */ color: oklch(67.9% 0.200 140.7);
Tailwind
colors: {
  custom: {
    50: '#85cb6e',
    500: '#42b42b',
    950: '#000000',
  },
}
SCSS
$custom: #42b42b;
$custom-light: #85cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#42b42b",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 109.927,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67915,
    "c": 0.19981,
    "h": 140.7
  },
  "luminance": 0.33975
}

Semantic roles & 50–950 ramp

primary
#42B42B
secondary
#B973C7
accent
#43E5C9
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42B42B

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

Preview Lab → · Contrast checker → · Palette generator →

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