#28A02B#28A02B

#28A02B is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.8% C 0.186 H 143.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#28A02B
RGBrgb(40, 160, 43)
HSLhsl(122, 60%, 39%)
HSVhsv(122, 75%, 63%)
CMYKcmyk(75%, 0%, 73.1%, 37.3%)
CIE-LABlab(57.81, -54.85, 48.99)
CIE-LCHlch(57.81, 73.55, 138.23°)
OKLaboklab(61.83% -0.1488 0.1113)
OKLCHoklch(61.83% 0.186 143.2)
XYZxyz(13.8811, 25.7656, 6.5267)
Luminance0.2577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A02B #A0289D
analogous
#61A028 #28A02B #28A067
triadic
#28A02B #2B28A0 #A02B28
tetradic
#28A02B #2861A0 #A0289D #A06728
square
#28A02B #2861A0 #A0289D #A06728
split-complementary
#28A02B #6728A0 #A02861
monochromatic
#103E11 #1C6F1E #28A02B #38CD3C #69D96C

Accessibility & contrast

On white

3.41
#28A02B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#28A02B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A02B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A02B#FFFFFF#000000##000000
##28A02B1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39117
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a02b;
/* rgb */ color: rgb(40, 160, 43);
/* oklch */ color: oklch(61.8% 0.186 143.2);
Tailwind
colors: {
  custom: {
    50: '#76bd6c',
    500: '#28a02b',
    950: '#000000',
  },
}
SCSS
$custom: #28a02b;
$custom-light: #76bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a02b",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 121.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61831,
    "c": 0.18579,
    "h": 143.2
  },
  "luminance": 0.25767
}

Semantic roles & 50–950 ramp

primary
#28A02B
secondary
#C064BD
accent
#45DFE3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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