#28A23C#28A23C

#28A23C is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.176 H 145.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#28A23C
RGBrgb(40, 162, 60)
HSLhsl(130, 60%, 40%)
HSVhsv(130, 75%, 64%)
CMYKcmyk(75.3%, 0%, 63%, 36.5%)
CIE-LABlab(58.62, -53.79, 42.70)
CIE-LCHlch(58.62, 68.68, 141.55°)
OKLaboklab(62.54% -0.1451 0.1)
OKLCHoklch(62.54% 0.176 145.4)
XYZxyz(14.6100, 26.6163, 8.6416)
Luminance0.2662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A23C #A2288E
analogous
#51A228 #28A23C #28A279
triadic
#28A23C #3C28A2 #A23C28
tetradic
#28A23C #2851A2 #A2288E #A27928
square
#28A23C #2851A2 #A2288E #A27928
split-complementary
#28A23C #7928A2 #A22851
monochromatic
#104018 #1C712A #28A23C #39CE52 #6ADA7D

Accessibility & contrast

On white

3.32
#28A23C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#28A23C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A23C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A23C#FFFFFF#000000##000000
##28A23C1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59330
Deuteranopia (green-blind)
#978945
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a23c;
/* rgb */ color: rgb(40, 162, 60);
/* oklch */ color: oklch(62.5% 0.176 145.4);
Tailwind
colors: {
  custom: {
    50: '#76bf76',
    500: '#28a23c',
    950: '#000000',
  },
}
SCSS
$custom: #28a23c;
$custom-light: #76bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#28a23c",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 129.836,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62544,
    "c": 0.17621,
    "h": 145.4
  },
  "luminance": 0.26618
}

Semantic roles & 50–950 ramp

primary
#28A23C
secondary
#C165B2
accent
#44C9E4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A23C

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

Preview Lab → · Contrast checker → · Palette generator →

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