#42A42B#42A42B

#42A42B is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.181 H 140.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#42A42B
RGBrgb(66, 164, 43)
HSLhsl(109, 58%, 41%)
HSVhsv(109, 74%, 64%)
CMYKcmyk(59.8%, 0%, 73.8%, 35.7%)
CIE-LABlab(59.78, -50.81, 51.21)
CIE-LCHlch(59.78, 72.14, 134.78°)
OKLaboklab(63.65% -0.1393 0.1157)
OKLCHoklch(63.65% 0.181 140.3)
XYZxyz(15.9575, 27.8821, 6.8259)
Luminance0.2788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A42B #8D2BA4
analogous
#7EA42B #42A42B #2BA450
triadic
#42A42B #2B42A4 #A42B42
tetradic
#42A42B #2B7EA4 #8D2BA4 #A4502B
square
#42A42B #2B7EA4 #8D2BA4 #A4502B
split-complementary
#42A42B #502BA4 #A42B7E
monochromatic
#1B4312 #2E741E #42A42B #5ACD3F #84D970

Accessibility & contrast

On white

3.19
#42A42B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#42A42B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A42B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A42B#FFFFFF#000000##000000
##42A42B1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89515
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#359F8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a42b;
/* rgb */ color: rgb(66, 164, 43);
/* oklch */ color: oklch(63.6% 0.181 140.3);
Tailwind
colors: {
  custom: {
    50: '#82c06c',
    500: '#42a42b',
    950: '#000000',
  },
}
SCSS
$custom: #42a42b;
$custom-light: #82c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#42a42b",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 108.595,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63648,
    "c": 0.18112,
    "h": 140.3
  },
  "luminance": 0.27884
}

Semantic roles & 50–950 ramp

primary
#42A42B
secondary
#B06AC1
accent
#46E2C4
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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