#42C236#42C236

#42C236 is a light, highly saturated green. Relative luminance 0.400; OKLCH L 71.7% C 0.210 H 141.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#42C236
RGBrgb(66, 194, 54)
HSLhsl(115, 56%, 49%)
HSVhsv(115, 72%, 76%)
CMYKcmyk(66%, 0%, 72.2%, 23.9%)
CIE-LABlab(69.47, -60.48, 57.01)
CIE-LCHlch(69.47, 83.12, 136.69°)
OKLaboklab(71.69% -0.1648 0.1293)
OKLCHoklch(71.69% 0.21 141.9)
XYZxyz(22.2032, 40.0059, 10.0411)
Luminance0.4001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C236 #B636C2
analogous
#88C236 #42C236 #36C270
triadic
#42C236 #3642C2 #C23642
tetradic
#42C236 #3688C2 #B636C2 #C27036
square
#42C236 #3688C2 #B636C2 #C27036
split-complementary
#42C236 #7036C2 #C23688
monochromatic
#21621B #329229 #42C236 #6CD362 #99E192

Accessibility & contrast

On white

2.33
#42C236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#42C236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C236
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C236#FFFFFF#000000##000000
##42C2361.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01E
Deuteranopia (green-blind)
#B7A644
Tritanopia (blue-blind)
#27BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c236;
/* rgb */ color: rgb(66, 194, 54);
/* oklch */ color: oklch(71.7% 0.210 141.9);
Tailwind
colors: {
  custom: {
    50: '#87d675',
    500: '#42c236',
    950: '#000000',
  },
}
SCSS
$custom: #42c236;
$custom-light: #87d675;
$custom-dark: #000000;
JSON
{
  "hex": "#42c236",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 54
  },
  "hsl": {
    "h": 114.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7169,
    "c": 0.20952,
    "h": 141.9
  },
  "luminance": 0.40008
}

Semantic roles & 50–950 ramp

primary
#42C236
secondary
#C688CC
accent
#48E0D3
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1409
muted
#7E837B

Preview Lab

Preview with #42C236

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

Preview Lab → · Contrast checker → · Palette generator →

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