#42AA38#42AA38

#42AA38 is a light, vivid green. Relative luminance 0.302; OKLCH L 65.4% C 0.180 H 141.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#42AA38
RGBrgb(66, 170, 56)
HSLhsl(115, 50%, 44%)
HSVhsv(115, 67%, 67%)
CMYKcmyk(61.2%, 0%, 67.1%, 33.3%)
CIE-LABlab(61.82, -51.88, 48.18)
CIE-LCHlch(61.82, 70.80, 137.12°)
OKLaboklab(65.36% -0.1414 0.111)
OKLCHoklch(65.36% 0.18 141.9)
XYZxyz(17.3344, 30.1916, 8.6547)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AA38 #A038AA
analogous
#7BAA38 #42AA38 #38AA67
triadic
#42AA38 #3842AA #AA3842
tetradic
#42AA38 #387BAA #A038AA #AA6738
square
#42AA38 #387BAA #A038AA #AA6738
split-complementary
#42AA38 #6738AA #AA387B
monochromatic
#1E4E1A #307C29 #42AA38 #61C857 #8DD785

Accessibility & contrast

On white

2.98
#42AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#42AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AA38
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AA38#FFFFFF#000000##000000
##42AA381.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B29
Deuteranopia (green-blind)
#A19242
Tritanopia (blue-blind)
#31A593
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42aa38;
/* rgb */ color: rgb(66, 170, 56);
/* oklch */ color: oklch(65.4% 0.180 141.9);
Tailwind
colors: {
  custom: {
    50: '#82c474',
    500: '#42aa38',
    950: '#000000',
  },
}
SCSS
$custom: #42aa38;
$custom-light: #82c474;
$custom-dark: #000000;
JSON
{
  "hex": "#42aa38",
  "rgb": {
    "r": 66,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 114.737,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.65362,
    "c": 0.17982,
    "h": 141.9
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#42AA38
secondary
#BB7DC1
accent
#4EDACE
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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