#42A335#42A335

#42A335 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.5% C 0.173 H 141.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#42A335
RGBrgb(66, 163, 53)
HSLhsl(113, 51%, 42%)
HSVhsv(113, 67%, 64%)
CMYKcmyk(59.5%, 0%, 67.5%, 36.1%)
CIE-LABlab(59.53, -49.58, 46.98)
CIE-LCHlch(59.53, 68.30, 136.54°)
OKLaboklab(63.47% -0.1354 0.1081)
OKLCHoklch(63.47% 0.173 141.4)
XYZxyz(15.9858, 27.6082, 7.8540)
Luminance0.2761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A335 #9635A3
analogous
#79A335 #42A335 #35A35F
triadic
#42A335 #3542A3 #A33542
tetradic
#42A335 #3579A3 #9635A3 #A35F35
square
#42A335 #3579A3 #9635A3 #A35F35
split-complementary
#42A335 #5F35A3 #A33579
monochromatic
#1D4717 #2F7526 #42A335 #5DC64F #88D57E

Accessibility & contrast

On white

3.22
#42A335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#42A335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A335
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A335#FFFFFF#000000##000000
##42A3351.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79426
Deuteranopia (green-blind)
#9B8C3F
Tritanopia (blue-blind)
#349E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #42a335;
/* rgb */ color: rgb(66, 163, 53);
/* oklch */ color: oklch(63.5% 0.173 141.4);
Tailwind
colors: {
  custom: {
    50: '#81bf72',
    500: '#42a335',
    950: '#000000',
  },
}
SCSS
$custom: #42a335;
$custom-light: #81bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#42a335",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 112.909,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63467,
    "c": 0.17328,
    "h": 141.4
  },
  "luminance": 0.2761
}

Semantic roles & 50–950 ramp

primary
#42A335
secondary
#B576BE
accent
#4DDACA
background
#F8FBF7
surface
#F0F7ED
border
#CBD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A335

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

Preview Lab → · Contrast checker → · Palette generator →

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