#42A236#42A236

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

Color values

HEX#42A236
RGBrgb(66, 162, 54)
HSLhsl(113, 50%, 42%)
HSVhsv(113, 67%, 64%)
CMYKcmyk(59.3%, 0%, 66.7%, 36.5%)
CIE-LABlab(59.22, -49.11, 46.21)
CIE-LCHlch(59.22, 67.43, 136.74°)
OKLaboklab(63.21% -0.1341 0.1066)
OKLCHoklch(63.21% 0.171 141.5)
XYZxyz(15.8322, 27.2638, 7.9174)
Luminance0.2727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A236 #9636A2
analogous
#78A236 #42A236 #36A260
triadic
#42A236 #3642A2 #A23642
tetradic
#42A236 #3678A2 #9636A2 #A26036
square
#42A236 #3678A2 #9636A2 #A26036
split-complementary
#42A236 #6036A2 #A23678
monochromatic
#1D4617 #2F7427 #42A236 #5DC550 #88D47E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A236#FFFFFF#000000##000000
##42A2361.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)
#A69428
Deuteranopia (green-blind)
#9A8B40
Tritanopia (blue-blind)
#349D8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #42a236;
/* rgb */ color: rgb(66, 162, 54);
/* oklch */ color: oklch(63.2% 0.171 141.5);
Tailwind
colors: {
  custom: {
    50: '#81be72',
    500: '#42a236',
    950: '#000000',
  },
}
SCSS
$custom: #42a236;
$custom-light: #81be72;
$custom-dark: #000000;
JSON
{
  "hex": "#42a236",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 113.333,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63209,
    "c": 0.1713,
    "h": 141.5
  },
  "luminance": 0.27265
}

Semantic roles & 50–950 ramp

primary
#42A236
secondary
#B577BD
accent
#4EDACA
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A236

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

Preview Lab → · Contrast checker → · Palette generator →

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