#28AF3A#28AF3A

#28AF3A is a light, vivid green. Relative luminance 0.314; OKLCH L 66.1% C 0.193 H 144.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#28AF3A
RGBrgb(40, 175, 58)
HSLhsl(128, 63%, 42%)
HSVhsv(128, 77%, 69%)
CMYKcmyk(77.1%, 0%, 66.9%, 31.4%)
CIE-LABlab(62.86, -58.36, 48.29)
CIE-LCHlch(62.86, 75.75, 140.40°)
OKLaboklab(66.05% -0.1576 0.1116)
OKLCHoklch(66.05% 0.193 144.7)
XYZxyz(16.9676, 31.4145, 9.1715)
Luminance0.3142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF3A #AF289D
analogous
#5AAF28 #28AF3A #28AF7E
triadic
#28AF3A #3A28AF #AF3A28
tetradic
#28AF3A #285AAF #AF289D #AF7E28
square
#28AF3A #285AAF #AF289D #AF7E28
split-complementary
#28AF3A #7E28AF #AF285A
monochromatic
#114B19 #1D7D29 #28AF3A #41D454 #73DF81

Accessibility & contrast

On white

2.88
#28AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#28AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF3A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF3A#FFFFFF#000000##000000
##28AF3A1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E2B
Deuteranopia (green-blind)
#A39445
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af3a;
/* rgb */ color: rgb(40, 175, 58);
/* oklch */ color: oklch(66.1% 0.193 144.7);
Tailwind
colors: {
  custom: {
    50: '#79c876',
    500: '#28af3a',
    950: '#000000',
  },
}
SCSS
$custom: #28af3a;
$custom-light: #79c876;
$custom-dark: #000000;
JSON
{
  "hex": "#28af3a",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 128,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66055,
    "c": 0.19313,
    "h": 144.7
  },
  "luminance": 0.31417
}

Semantic roles & 50–950 ramp

primary
#28AF3A
secondary
#C66DBA
accent
#42D0E6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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