#28C42D#28C42D

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

Color values

HEX#28C42D
RGBrgb(40, 196, 45)
HSLhsl(122, 66%, 46%)
HSVhsv(122, 80%, 77%)
CMYKcmyk(79.6%, 0%, 77%, 23.1%)
CIE-LABlab(69.55, -66.08, 60.02)
CIE-LCHlch(69.55, 89.26, 137.75°)
OKLaboklab(71.59% -0.1791 0.1346)
OKLCHoklch(71.59% 0.224 143.1)
XYZxyz(21.0873, 40.1179, 9.1143)
Luminance0.4012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C42D #C428BF
analogous
#71C428 #28C42D #28C47B
triadic
#28C42D #2D28C4 #C42D28
tetradic
#28C42D #2871C4 #C428BF #C47B28
square
#28C42D #2871C4 #C428BF #C47B28
split-complementary
#28C42D #7B28C4 #C42871
monochromatic
#135E16 #1E9121 #28C42D #4EDB53 #81E584

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28C42D#FFFFFF#000000##000000
##28C42D1.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)
#C8B103
Deuteranopia (green-blind)
#B8A53E
Tritanopia (blue-blind)
#00BEA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #28c42d;
/* rgb */ color: rgb(40, 196, 45);
/* oklch */ color: oklch(71.6% 0.224 143.1);
Tailwind
colors: {
  custom: {
    50: '#7fd771',
    500: '#28c42d',
    950: '#000000',
  },
}
SCSS
$custom: #28c42d;
$custom-light: #7fd771;
$custom-dark: #000000;
JSON
{
  "hex": "#28c42d",
  "rgb": {
    "r": 40,
    "g": 196,
    "b": 45
  },
  "hsl": {
    "h": 121.923,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71594,
    "c": 0.22405,
    "h": 143.1
  },
  "luminance": 0.4012
}

Semantic roles & 50–950 ramp

primary
#28C42D
secondary
#CE7ACB
accent
#3FE4E9
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #28C42D

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

Preview Lab → · Contrast checker → · Palette generator →

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