#28A02A#28A02A

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

Color values

HEX#28A02A
RGBrgb(40, 160, 42)
HSLhsl(121, 60%, 39%)
HSVhsv(121, 75%, 63%)
CMYKcmyk(75%, 0%, 73.8%, 37.3%)
CIE-LABlab(57.81, -54.94, 49.36)
CIE-LCHlch(57.81, 73.86, 138.06°)
OKLaboklab(61.82% -0.149 0.112)
OKLCHoklch(61.82% 0.186 143.1)
XYZxyz(13.8629, 25.7583, 6.4313)
Luminance0.2576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A02A #A0289E
analogous
#62A028 #28A02A #28A066
triadic
#28A02A #2A28A0 #A02A28
tetradic
#28A02A #2862A0 #A0289E #A06628
square
#28A02A #2862A0 #A0289E #A06628
split-complementary
#28A02A #6628A0 #A02862
monochromatic
#103E10 #1C6F1D #28A02A #38CD3A #69D96B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A02A#FFFFFF#000000##000000
##28A02A1.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)
#A39115
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a02a;
/* rgb */ color: rgb(40, 160, 42);
/* oklch */ color: oklch(61.8% 0.186 143.1);
Tailwind
colors: {
  custom: {
    50: '#76bd6b',
    500: '#28a02a',
    950: '#000000',
  },
}
SCSS
$custom: #28a02a;
$custom-light: #76bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#28a02a",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 121,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.1864,
    "h": 143.1
  },
  "luminance": 0.2576
}

Semantic roles & 50–950 ramp

primary
#28A02A
secondary
#C064BE
accent
#45E1E3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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