#42C031#42C031

#42C031 is a light, highly saturated green. Relative luminance 0.391; OKLCH L 71.1% C 0.210 H 141.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#42C031
RGBrgb(66, 192, 49)
HSLhsl(113, 59%, 47%)
HSVhsv(113, 74%, 75%)
CMYKcmyk(65.6%, 0%, 74.5%, 24.7%)
CIE-LABlab(68.81, -60.19, 58.12)
CIE-LCHlch(68.81, 83.67, 136.00°)
OKLaboklab(71.13% -0.1643 0.131)
OKLCHoklch(71.13% 0.21 141.4)
XYZxyz(21.6496, 39.0771, 9.3068)
Luminance0.3908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C031 #AF31C0
analogous
#8AC031 #42C031 #31C067
triadic
#42C031 #3142C0 #C03142
tetradic
#42C031 #318AC0 #AF31C0 #C06731
square
#42C031 #318AC0 #AF31C0 #C06731
split-complementary
#42C031 #6731C0 #C0318A
monochromatic
#205E18 #318F25 #42C031 #68D559 #95E18A

Accessibility & contrast

On white

2.38
#42C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#42C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C031
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C031#FFFFFF#000000##000000
##42C0311.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE13
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#29BAA5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42c031;
/* rgb */ color: rgb(66, 192, 49);
/* oklch */ color: oklch(71.1% 0.210 141.4);
Tailwind
colors: {
  custom: {
    50: '#87d473',
    500: '#42c031',
    950: '#000000',
  },
}
SCSS
$custom: #42c031;
$custom-light: #87d473;
$custom-dark: #000000;
JSON
{
  "hex": "#42c031",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 112.867,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71128,
    "c": 0.21013,
    "h": 141.4
  },
  "luminance": 0.39079
}

Semantic roles & 50–950 ramp

primary
#42C031
secondary
#C282CB
accent
#45E3D0
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1409
muted
#7E837B

Preview Lab

Preview with #42C031

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

Preview Lab → · Contrast checker → · Palette generator →

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