#28C42B#28C42B

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

Color values

HEX#28C42B
RGBrgb(40, 196, 43)
HSLhsl(121, 66%, 46%)
HSVhsv(121, 80%, 77%)
CMYKcmyk(79.6%, 0%, 78.1%, 23.1%)
CIE-LABlab(69.54, -66.21, 60.64)
CIE-LCHlch(69.54, 89.78, 137.52°)
OKLaboklab(71.58% -0.1796 0.1356)
OKLCHoklch(71.58% 0.225 142.9)
XYZxyz(21.0497, 40.1028, 8.9163)
Luminance0.4011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C42B #C428C1
analogous
#73C428 #28C42B #28C479
triadic
#28C42B #2B28C4 #C42B28
tetradic
#28C42B #2873C4 #C428C1 #C47928
square
#28C42B #2873C4 #C428C1 #C47928
split-complementary
#28C42B #7928C4 #C42873
monochromatic
#135E15 #1E9120 #28C42B #4EDB51 #81E583

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28C42B#FFFFFF#000000##000000
##28C42B1.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)
#B8A53D
Tritanopia (blue-blind)
#00BEA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #28c42b;
/* rgb */ color: rgb(40, 196, 43);
/* oklch */ color: oklch(71.6% 0.225 142.9);
Tailwind
colors: {
  custom: {
    50: '#7fd770',
    500: '#28c42b',
    950: '#000000',
  },
}
SCSS
$custom: #28c42b;
$custom-light: #7fd770;
$custom-dark: #000000;
JSON
{
  "hex": "#28c42b",
  "rgb": {
    "r": 40,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 121.154,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71582,
    "c": 0.22502,
    "h": 142.9
  },
  "luminance": 0.40105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28C42B

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

Preview Lab → · Contrast checker → · Palette generator →

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