#42C231#42C231

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

Color values

HEX#42C231
RGBrgb(66, 194, 49)
HSLhsl(113, 60%, 48%)
HSVhsv(113, 75%, 76%)
CMYKcmyk(66%, 0%, 74.7%, 23.9%)
CIE-LABlab(69.44, -60.86, 58.75)
CIE-LCHlch(69.44, 84.59, 136.01°)
OKLaboklab(71.65% -0.1661 0.1323)
OKLCHoklch(71.65% 0.212 141.5)
XYZxyz(22.0918, 39.9613, 9.4542)
Luminance0.3996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C231 #B131C2
analogous
#8AC231 #42C231 #31C269
triadic
#42C231 #3142C2 #C23142
tetradic
#42C231 #318AC2 #B131C2 #C26931
square
#42C231 #318AC2 #B131C2 #C26931
split-complementary
#42C231 #6931C2 #C2318A
monochromatic
#216018 #319125 #42C231 #69D65B #96E28C

Accessibility & contrast

On white

2.34
#42C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#42C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C231
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C231#FFFFFF#000000##000000
##42C2311.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#B8A641
Tritanopia (blue-blind)
#28BCA6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c231;
/* rgb */ color: rgb(66, 194, 49);
/* oklch */ color: oklch(71.7% 0.212 141.5);
Tailwind
colors: {
  custom: {
    50: '#87d673',
    500: '#42c231',
    950: '#000000',
  },
}
SCSS
$custom: #42c231;
$custom-light: #87d673;
$custom-dark: #000000;
JSON
{
  "hex": "#42c231",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 112.966,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71654,
    "c": 0.21237,
    "h": 141.5
  },
  "luminance": 0.39964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C231

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

Preview Lab → · Contrast checker → · Palette generator →

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