#42A237#42A237

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

Color values

HEX#42A237
RGBrgb(66, 162, 55)
HSLhsl(114, 49%, 43%)
HSVhsv(114, 66%, 64%)
CMYKcmyk(59.3%, 0%, 66%, 36.5%)
CIE-LABlab(59.23, -49.01, 45.79)
CIE-LCHlch(59.23, 67.07, 136.95°)
OKLaboklab(63.22% -0.1337 0.1059)
OKLCHoklch(63.22% 0.171 141.6)
XYZxyz(15.8559, 27.2733, 8.0424)
Luminance0.2727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A237 #9737A2
analogous
#77A237 #42A237 #37A262
triadic
#42A237 #3742A2 #A23742
tetradic
#42A237 #3777A2 #9737A2 #A26237
square
#42A237 #3777A2 #9737A2 #A26237
split-complementary
#42A237 #6237A2 #A23777
monochromatic
#1D4718 #2F7427 #42A237 #5EC452 #88D480

Accessibility & contrast

On white

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

On black

6.45
#42A237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A237
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A237#FFFFFF#000000##000000
##42A2371.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69429
Deuteranopia (green-blind)
#9A8B40
Tritanopia (blue-blind)
#349D8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #42a237;
/* rgb */ color: rgb(66, 162, 55);
/* oklch */ color: oklch(63.2% 0.171 141.6);
Tailwind
colors: {
  custom: {
    50: '#81be73',
    500: '#42a237',
    950: '#000000',
  },
}
SCSS
$custom: #42a237;
$custom-light: #81be73;
$custom-dark: #000000;
JSON
{
  "hex": "#42a237",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 113.832,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.17056,
    "h": 141.6
  },
  "luminance": 0.27275
}

Semantic roles & 50–950 ramp

primary
#42A237
secondary
#B678BD
accent
#4FD9CB
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A237

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

Preview Lab → · Contrast checker → · Palette generator →

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