#28B745#28B745

#28B745 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.3% C 0.194 H 145.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#28B745
RGBrgb(40, 183, 69)
HSLhsl(132, 64%, 44%)
HSVhsv(132, 78%, 72%)
CMYKcmyk(78.1%, 0%, 62.3%, 28.2%)
CIE-LABlab(65.55, -59.76, 46.50)
CIE-LCHlch(65.55, 75.73, 142.11°)
OKLaboklab(68.32% -0.161 0.1089)
OKLCHoklch(68.32% 0.194 145.9)
XYZxyz(18.8814, 34.7455, 11.3405)
Luminance0.3475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B745 #B7289A
analogous
#52B728 #28B745 #28B78C
triadic
#28B745 #4528B7 #B74528
tetradic
#28B745 #2852B7 #B7289A #B78C28
square
#28B745 #2852B7 #B7289A #B78C28
split-complementary
#28B745 #8C28B7 #B72852
monochromatic
#12531F #1D8532 #28B745 #46D663 #78E18D

Accessibility & contrast

On white

2.64
#28B745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#28B745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B745
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B745#FFFFFF#000000##000000
##28B7451.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA638
Deuteranopia (green-blind)
#AA9B4F
Tritanopia (blue-blind)
#00B29F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #28b745;
/* rgb */ color: rgb(40, 183, 69);
/* oklch */ color: oklch(68.3% 0.194 145.9);
Tailwind
colors: {
  custom: {
    50: '#7ace7d',
    500: '#28b745',
    950: '#000000',
  },
}
SCSS
$custom: #28b745;
$custom-light: #7ace7d;
$custom-dark: #000000;
JSON
{
  "hex": "#28b745",
  "rgb": {
    "r": 40,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 132.168,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.19439,
    "h": 145.9
  },
  "luminance": 0.34748
}

Semantic roles & 50–950 ramp

primary
#28B745
secondary
#C972B7
accent
#41C5E7
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #28B745

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

Preview Lab → · Contrast checker → · Palette generator →

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