#28A245#28A245

#28A245 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.169 H 147.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#28A245
RGBrgb(40, 162, 69)
HSLhsl(134, 60%, 40%)
HSVhsv(134, 75%, 64%)
CMYKcmyk(75.3%, 0%, 57.4%, 36.5%)
CIE-LABlab(58.71, -52.63, 38.57)
CIE-LCHlch(58.71, 65.25, 143.76°)
OKLaboklab(62.66% -0.1417 0.0918)
OKLCHoklch(62.66% 0.169 147.1)
XYZxyz(14.8685, 26.7197, 10.0029)
Luminance0.2672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A245 #A22885
analogous
#48A228 #28A245 #28A282
triadic
#28A245 #4528A2 #A24528
tetradic
#28A245 #2848A2 #A22885 #A28228
square
#28A245 #2848A2 #A22885 #A28228
split-complementary
#28A245 #8228A2 #A22848
monochromatic
#10401B #1C7130 #28A245 #39CE5D #6ADA85

Accessibility & contrast

On white

3.31
#28A245 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#28A245 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A245
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A245#FFFFFF#000000##000000
##28A2451.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933C
Deuteranopia (green-blind)
#96894C
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a245;
/* rgb */ color: rgb(40, 162, 69);
/* oklch */ color: oklch(62.7% 0.169 147.1);
Tailwind
colors: {
  custom: {
    50: '#75bf7b',
    500: '#28a245',
    950: '#000000',
  },
}
SCSS
$custom: #28a245;
$custom-light: #75bf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#28a245",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 134.262,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62655,
    "c": 0.16884,
    "h": 147.1
  },
  "luminance": 0.26721
}

Semantic roles & 50–950 ramp

primary
#28A245
secondary
#C165AB
accent
#44BEE4
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A245

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

Preview Lab → · Contrast checker → · Palette generator →

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