#28B545#28B545

#28B545 is a light, vivid green. Relative luminance 0.339; OKLCH L 67.8% C 0.192 H 146.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#28B545
RGBrgb(40, 181, 69)
HSLhsl(132, 64%, 43%)
HSVhsv(132, 78%, 71%)
CMYKcmyk(77.9%, 0%, 61.9%, 29%)
CIE-LABlab(64.90, -59.11, 45.77)
CIE-LCHlch(64.90, 74.75, 142.25°)
OKLaboklab(67.79% -0.1592 0.1074)
OKLCHoklch(67.79% 0.192 146)
XYZxyz(18.4718, 33.9263, 11.2040)
Luminance0.3393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B545 #B52898
analogous
#52B528 #28B545 #28B58B
triadic
#28B545 #4528B5 #B54528
tetradic
#28B545 #2852B5 #B52898 #B58B28
square
#28B545 #2852B5 #B52898 #B58B28
split-complementary
#28B545 #8B28B5 #B52852
monochromatic
#12511F #1D8332 #28B545 #44D662 #77E18C

Accessibility & contrast

On white

2.70
#28B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#28B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B545
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B545#FFFFFF#000000##000000
##28B5451.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A439
Deuteranopia (green-blind)
#A8994F
Tritanopia (blue-blind)
#00B19D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #28b545;
/* rgb */ color: rgb(40, 181, 69);
/* oklch */ color: oklch(67.8% 0.192 146.0);
Tailwind
colors: {
  custom: {
    50: '#7acc7d',
    500: '#28b545',
    950: '#000000',
  },
}
SCSS
$custom: #28b545;
$custom-light: #7acc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#28b545",
  "rgb": {
    "r": 40,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 132.34,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67788,
    "c": 0.19203,
    "h": 146
  },
  "luminance": 0.33929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28B545

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

Preview Lab → · Contrast checker → · Palette generator →

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