#42C230#42C230

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

Color values

HEX#42C230
RGBrgb(66, 194, 48)
HSLhsl(113, 60%, 47%)
HSVhsv(113, 75%, 76%)
CMYKcmyk(66%, 0%, 75.3%, 23.9%)
CIE-LABlab(69.44, -60.93, 59.09)
CIE-LCHlch(69.44, 84.88, 135.88°)
OKLaboklab(71.65% -0.1664 0.1329)
OKLCHoklch(71.65% 0.213 141.4)
XYZxyz(22.0709, 39.9530, 9.3443)
Luminance0.3996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C230 #B030C2
analogous
#8BC230 #42C230 #30C267
triadic
#42C230 #3042C2 #C23042
tetradic
#42C230 #308BC2 #B030C2 #C26730
square
#42C230 #308BC2 #B030C2 #C26730
split-complementary
#42C230 #6730C2 #C2308B
monochromatic
#216018 #319124 #42C230 #69D659 #95E28A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C230#FFFFFF#000000##000000
##42C2301.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)
#C7B00F
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#29BCA6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c230;
/* rgb */ color: rgb(66, 194, 48);
/* oklch */ color: oklch(71.6% 0.213 141.4);
Tailwind
colors: {
  custom: {
    50: '#87d672',
    500: '#42c230',
    950: '#000000',
  },
}
SCSS
$custom: #42c230;
$custom-light: #87d672;
$custom-dark: #000000;
JSON
{
  "hex": "#42c230",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 48
  },
  "hsl": {
    "h": 112.603,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71647,
    "c": 0.2129,
    "h": 141.4
  },
  "luminance": 0.39955
}

Semantic roles & 50–950 ramp

primary
#42C230
secondary
#C382CC
accent
#44E3D0
background
#F9FDF7
surface
#F1FAED
border
#CBD3C8
text
#0D1409
muted
#7E837B

Preview Lab

Preview with #42C230

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

Preview Lab → · Contrast checker → · Palette generator →

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