#28A23D#28A23D

#28A23D is a light, vivid green. Relative luminance 0.266; OKLCH L 62.6% C 0.175 H 145.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#28A23D
RGBrgb(40, 162, 61)
HSLhsl(130, 60%, 40%)
HSVhsv(130, 75%, 64%)
CMYKcmyk(75.3%, 0%, 62.3%, 36.5%)
CIE-LABlab(58.63, -53.67, 42.26)
CIE-LCHlch(58.63, 68.31, 141.78°)
OKLaboklab(62.56% -0.1447 0.0991)
OKLCHoklch(62.56% 0.175 145.6)
XYZxyz(14.6367, 26.6270, 8.7821)
Luminance0.2663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A23D #A2288D
analogous
#50A228 #28A23D #28A27A
triadic
#28A23D #3D28A2 #A23D28
tetradic
#28A23D #2850A2 #A2288D #A27A28
square
#28A23D #2850A2 #A2288D #A27A28
split-complementary
#28A23D #7A28A2 #A22850
monochromatic
#104018 #1C712B #28A23D #39CE53 #6ADA7D

Accessibility & contrast

On white

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

On black

6.33
#28A23D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A23D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A23D#FFFFFF#000000##000000
##28A23D1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28a23d;
/* rgb */ color: rgb(40, 162, 61);
/* oklch */ color: oklch(62.6% 0.175 145.6);
Tailwind
colors: {
  custom: {
    50: '#76bf76',
    500: '#28a23d',
    950: '#000000',
  },
}
SCSS
$custom: #28a23d;
$custom-light: #76bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#28a23d",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 130.328,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.17542,
    "h": 145.6
  },
  "luminance": 0.26629
}

Semantic roles & 50–950 ramp

primary
#28A23D
secondary
#C165B1
accent
#44C8E4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A23D

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

Preview Lab → · Contrast checker → · Palette generator →

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