#42C831#42C831

#42C831 is a light, highly saturated green. Relative luminance 0.427; OKLCH L 73.2% C 0.219 H 141.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#42C831
RGBrgb(66, 200, 49)
HSLhsl(113, 61%, 49%)
HSVhsv(113, 76%, 78%)
CMYKcmyk(67%, 0%, 75.5%, 21.6%)
CIE-LABlab(71.34, -62.86, 60.63)
CIE-LCHlch(71.34, 87.33, 136.03°)
OKLaboklab(73.23% -0.1715 0.1362)
OKLCHoklch(73.23% 0.219 141.5)
XYZxyz(23.4542, 42.6861, 9.9083)
Luminance0.4269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C831 #B731C8
analogous
#8EC831 #42C831 #31C86C
triadic
#42C831 #3142C8 #C83142
tetradic
#42C831 #318EC8 #B731C8 #C86C31
square
#42C831 #318EC8 #B731C8 #C86C31
split-complementary
#42C831 #6C31C8 #C8318E
monochromatic
#226619 #329725 #42C831 #6CD85F #99E490

Accessibility & contrast

On white

2.20
#42C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#42C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C831
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C831#FFFFFF#000000##000000
##42C8311.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50E
Deuteranopia (green-blind)
#BDAB42
Tritanopia (blue-blind)
#25C2AB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c831;
/* rgb */ color: rgb(66, 200, 49);
/* oklch */ color: oklch(73.2% 0.219 141.5);
Tailwind
colors: {
  custom: {
    50: '#88da74',
    500: '#42c831',
    950: '#000000',
  },
}
SCSS
$custom: #42c831;
$custom-light: #88da74;
$custom-dark: #000000;
JSON
{
  "hex": "#42c831",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 113.245,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73228,
    "c": 0.21902,
    "h": 141.5
  },
  "luminance": 0.42689
}

Semantic roles & 50–950 ramp

primary
#42C831
secondary
#C686CE
accent
#44E4D2
background
#F9FDF7
surface
#F1FBED
border
#CBD4C8
text
#0D1509
muted
#7E837B

Preview Lab

Preview with #42C831

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

Preview Lab → · Contrast checker → · Palette generator →

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