#28A52B#28A52B

#28A52B is a light, vivid green. Relative luminance 0.275; OKLCH L 63.2% C 0.191 H 143.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#28A52B
RGBrgb(40, 165, 43)
HSLhsl(121, 61%, 40%)
HSVhsv(121, 76%, 65%)
CMYKcmyk(75.8%, 0%, 73.9%, 35.3%)
CIE-LABlab(59.47, -56.50, 50.68)
CIE-LCHlch(59.47, 75.90, 138.11°)
OKLaboklab(63.2% -0.1532 0.1148)
OKLCHoklch(63.2% 0.191 143.2)
XYZxyz(14.7653, 27.5341, 6.8215)
Luminance0.2754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A52B #A528A2
analogous
#63A528 #28A52B #28A569
triadic
#28A52B #2B28A5 #A52B28
tetradic
#28A52B #2863A5 #A528A2 #A56928
square
#28A52B #2863A5 #A528A2 #A56928
split-complementary
#28A52B #6928A5 #A52863
monochromatic
#104211 #1C741E #28A52B #3BCF3E #6CDB6F

Accessibility & contrast

On white

3.23
#28A52B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#28A52B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A52B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A52B#FFFFFF#000000##000000
##28A52B1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#9B8B38
Tritanopia (blue-blind)
#00A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #28a52b;
/* rgb */ color: rgb(40, 165, 43);
/* oklch */ color: oklch(63.2% 0.191 143.2);
Tailwind
colors: {
  custom: {
    50: '#77c16c',
    500: '#28a52b',
    950: '#000000',
  },
}
SCSS
$custom: #28a52b;
$custom-light: #77c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a52b",
  "rgb": {
    "r": 40,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 121.44,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63203,
    "c": 0.19147,
    "h": 143.2
  },
  "luminance": 0.27536
}

Semantic roles & 50–950 ramp

primary
#28A52B
secondary
#C267C0
accent
#44E0E4
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A52B

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

Preview Lab → · Contrast checker → · Palette generator →

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