#28A02E#28A02E

#28A02E is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.184 H 143.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#28A02E
RGBrgb(40, 160, 46)
HSLhsl(123, 60%, 39%)
HSVhsv(123, 75%, 63%)
CMYKcmyk(75%, 0%, 71.2%, 37.3%)
CIE-LABlab(57.84, -54.59, 47.85)
CIE-LCHlch(57.84, 72.59, 138.77°)
OKLaboklab(61.86% -0.1479 0.1093)
OKLCHoklch(61.86% 0.184 143.5)
XYZxyz(13.9381, 25.7884, 6.8273)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A02E #A0289A
analogous
#5EA028 #28A02E #28A06A
triadic
#28A02E #2E28A0 #A02E28
tetradic
#28A02E #285EA0 #A0289A #A06A28
square
#28A02E #285EA0 #A0289A #A06A28
split-complementary
#28A02E #6A28A0 #A0285E
monochromatic
#103E12 #1C6F20 #28A02E #38CD3F #69D96F

Accessibility & contrast

On white

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

On black

6.16
#28A02E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A02E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A02E#FFFFFF#000000##000000
##28A02E1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28a02e;
/* rgb */ color: rgb(40, 160, 46);
/* oklch */ color: oklch(61.9% 0.184 143.5);
Tailwind
colors: {
  custom: {
    50: '#76bd6d',
    500: '#28a02e',
    950: '#000000',
  },
}
SCSS
$custom: #28a02e;
$custom-light: #76bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a02e",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 123,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.1839,
    "h": 143.5
  },
  "luminance": 0.2579
}

Semantic roles & 50–950 ramp

primary
#28A02E
secondary
#C064BB
accent
#45DBE3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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