#42C451#42C451

#42C451 is a light, vivid green. Relative luminance 0.412; OKLCH L 72.5% C 0.193 H 145.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#42C451
RGBrgb(66, 196, 81)
HSLhsl(127, 52%, 51%)
HSVhsv(127, 66%, 77%)
CMYKcmyk(66.3%, 0%, 58.7%, 23.1%)
CIE-LABlab(70.34, -58.45, 46.71)
CIE-LCHlch(70.34, 74.83, 141.37°)
OKLaboklab(72.48% -0.1581 0.1103)
OKLCHoklch(72.48% 0.193 145.1)
XYZxyz(23.4704, 41.2297, 14.5042)
Luminance0.4123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C451 #C442B5
analogous
#74C442 #42C451 #42C492
triadic
#42C451 #5142C4 #C45142
tetradic
#42C451 #4274C4 #C442B5 #C49242
square
#42C451 #4274C4 #C442B5 #C49242
split-complementary
#42C451 #9242C4 #C44274
monochromatic
#216A2A #30993C #42C451 #71D37C #9FE1A7

Accessibility & contrast

On white

2.27
#42C451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#42C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C451
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C451#FFFFFF#000000##000000
##42C4511.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B345
Deuteranopia (green-blind)
#B7A85A
Tritanopia (blue-blind)
#1CBFAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c451;
/* rgb */ color: rgb(66, 196, 81);
/* oklch */ color: oklch(72.5% 0.193 145.1);
Tailwind
colors: {
  custom: {
    50: '#86d785',
    500: '#42c451',
    950: '#000000',
  },
}
SCSS
$custom: #42c451;
$custom-light: #86d785;
$custom-dark: #000000;
JSON
{
  "hex": "#42c451",
  "rgb": {
    "r": 66,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 126.923,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72478,
    "c": 0.19278,
    "h": 145.1
  },
  "luminance": 0.41232
}

Semantic roles & 50–950 ramp

primary
#42C451
secondary
#CE94C7
accent
#4CCBDC
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42C451

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

Preview Lab → · Contrast checker → · Palette generator →

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