#28C42C#28C42C

#28C42C is a light, highly saturated green. Relative luminance 0.401; OKLCH L 71.6% C 0.225 H 143.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#28C42C
RGBrgb(40, 196, 44)
HSLhsl(122, 66%, 46%)
HSVhsv(122, 80%, 77%)
CMYKcmyk(79.6%, 0%, 77.6%, 23.1%)
CIE-LABlab(69.55, -66.14, 60.33)
CIE-LCHlch(69.55, 89.52, 137.63°)
OKLaboklab(71.59% -0.1794 0.1351)
OKLCHoklch(71.59% 0.225 143)
XYZxyz(21.0683, 40.1103, 9.0141)
Luminance0.4011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C42C #C428C0
analogous
#72C428 #28C42C #28C47A
triadic
#28C42C #2C28C4 #C42C28
tetradic
#28C42C #2872C4 #C428C0 #C47A28
square
#28C42C #2872C4 #C428C0 #C47A28
split-complementary
#28C42C #7A28C4 #C42872
monochromatic
#135E15 #1E9121 #28C42C #4EDB52 #81E584

Accessibility & contrast

On white

2.33
#28C42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#28C42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C42C
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C42C#FFFFFF#000000##000000
##28C42C1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#B8A53E
Tritanopia (blue-blind)
#00BEA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #28c42c;
/* rgb */ color: rgb(40, 196, 44);
/* oklch */ color: oklch(71.6% 0.225 143.0);
Tailwind
colors: {
  custom: {
    50: '#7fd771',
    500: '#28c42c',
    950: '#000000',
  },
}
SCSS
$custom: #28c42c;
$custom-light: #7fd771;
$custom-dark: #000000;
JSON
{
  "hex": "#28c42c",
  "rgb": {
    "r": 40,
    "g": 196,
    "b": 44
  },
  "hsl": {
    "h": 121.538,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71588,
    "c": 0.22454,
    "h": 143
  },
  "luminance": 0.40113
}

Semantic roles & 50–950 ramp

primary
#28C42C
secondary
#CE7ACC
accent
#3FE5E9
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #28C42C

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

Preview Lab → · Contrast checker → · Palette generator →

#28C42C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva