#28C638#28C638

#28C638 is a light, highly saturated green. Relative luminance 0.411; OKLCH L 72.2% C 0.220 H 144.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#28C638
RGBrgb(40, 198, 56)
HSLhsl(126, 66%, 47%)
HSVhsv(126, 80%, 78%)
CMYKcmyk(79.8%, 0%, 71.7%, 22.4%)
CIE-LABlab(70.26, -65.84, 56.92)
CIE-LCHlch(70.26, 87.04, 139.15°)
OKLaboklab(72.21% -0.178 0.1295)
OKLCHoklch(72.21% 0.22 144)
XYZxyz(21.7815, 41.1222, 10.5300)
Luminance0.4113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C638 #C628B6
analogous
#67C628 #28C638 #28C687
triadic
#28C638 #3828C6 #C63828
tetradic
#28C638 #2867C6 #C628B6 #C68728
square
#28C638 #2867C6 #C628B6 #C68728
split-complementary
#28C638 #8728C6 #C62867
monochromatic
#13601B #1E932A #28C638 #50DC5E #83E68D

Accessibility & contrast

On white

2.28
#28C638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#28C638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C638
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C638#FFFFFF#000000##000000
##28C6381.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB320
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#00C0AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #28c638;
/* rgb */ color: rgb(40, 198, 56);
/* oklch */ color: oklch(72.2% 0.220 144.0);
Tailwind
colors: {
  custom: {
    50: '#7fd977',
    500: '#28c638',
    950: '#000000',
  },
}
SCSS
$custom: #28c638;
$custom-light: #7fd977;
$custom-dark: #000000;
JSON
{
  "hex": "#28c638",
  "rgb": {
    "r": 40,
    "g": 198,
    "b": 56
  },
  "hsl": {
    "h": 126.076,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72205,
    "c": 0.22016,
    "h": 144
  },
  "luminance": 0.41125
}

Semantic roles & 50–950 ramp

primary
#28C638
secondary
#CF7BC6
accent
#3ED8E9
background
#F8FDF7
surface
#F0FBEE
border
#CBD4C9
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #28C638

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

Preview Lab → · Contrast checker → · Palette generator →

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