#42A239#42A239

#42A239 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.2% C 0.169 H 141.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#42A239
RGBrgb(66, 162, 57)
HSLhsl(115, 48%, 43%)
HSVhsv(115, 65%, 64%)
CMYKcmyk(59.3%, 0%, 64.8%, 36.5%)
CIE-LABlab(59.24, -48.80, 44.93)
CIE-LCHlch(59.24, 66.33, 137.36°)
OKLaboklab(63.24% -0.1331 0.1043)
OKLCHoklch(63.24% 0.169 141.9)
XYZxyz(15.9048, 27.2929, 8.3000)
Luminance0.2729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A239 #9939A2
analogous
#76A239 #42A239 #39A264
triadic
#42A239 #3942A2 #A23942
tetradic
#42A239 #3976A2 #9939A2 #A26439
square
#42A239 #3976A2 #9939A2 #A26439
split-complementary
#42A239 #6439A2 #A23976
monochromatic
#1D4719 #307529 #42A239 #5EC355 #89D382

Accessibility & contrast

On white

3.25
#42A239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#42A239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A239
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A239#FFFFFF#000000##000000
##42A2391.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942C
Deuteranopia (green-blind)
#9A8B42
Tritanopia (blue-blind)
#339D8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #42a239;
/* rgb */ color: rgb(66, 162, 57);
/* oklch */ color: oklch(63.2% 0.169 141.9);
Tailwind
colors: {
  custom: {
    50: '#81be74',
    500: '#42a239',
    950: '#000000',
  },
}
SCSS
$custom: #42a239;
$custom-light: #81be74;
$custom-dark: #000000;
JSON
{
  "hex": "#42a239",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 114.857,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6324,
    "c": 0.16905,
    "h": 141.9
  },
  "luminance": 0.27294
}

Semantic roles & 50–950 ramp

primary
#42A239
secondary
#B77ABD
accent
#50D8CC
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A239

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

Preview Lab → · Contrast checker → · Palette generator →

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