#42A135#42A135

#42A135 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.9% C 0.171 H 141.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#42A135
RGBrgb(66, 161, 53)
HSLhsl(113, 50%, 42%)
HSVhsv(113, 67%, 63%)
CMYKcmyk(59%, 0%, 67.1%, 36.9%)
CIE-LABlab(58.88, -48.83, 46.27)
CIE-LCHlch(58.88, 67.27, 136.54°)
OKLaboklab(62.93% -0.1334 0.1067)
OKLCHoklch(62.93% 0.171 141.3)
XYZxyz(15.6335, 26.9036, 7.7365)
Luminance0.2691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A135 #9435A1
analogous
#78A135 #42A135 #35A15E
triadic
#42A135 #3542A1 #A13542
tetradic
#42A135 #3578A1 #9435A1 #A15E35
square
#42A135 #3578A1 #9435A1 #A15E35
split-complementary
#42A135 #5E35A1 #A13578
monochromatic
#1C4517 #2F7326 #42A135 #5DC54E #87D47C

Accessibility & contrast

On white

3.29
#42A135 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#42A135 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A135
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A135#FFFFFF#000000##000000
##42A1351.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59327
Deuteranopia (green-blind)
#998B3F
Tritanopia (blue-blind)
#349C8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a135;
/* rgb */ color: rgb(66, 161, 53);
/* oklch */ color: oklch(62.9% 0.171 141.3);
Tailwind
colors: {
  custom: {
    50: '#81be71',
    500: '#42a135',
    950: '#000000',
  },
}
SCSS
$custom: #42a135;
$custom-light: #81be71;
$custom-dark: #000000;
JSON
{
  "hex": "#42a135",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 112.778,
    "s": 50.467,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62932,
    "c": 0.17077,
    "h": 141.3
  },
  "luminance": 0.26905
}

Semantic roles & 50–950 ramp

primary
#42A135
secondary
#B475BD
accent
#4EDAC9
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A135

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

Preview Lab → · Contrast checker → · Palette generator →

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