#28A52E#28A52E

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

Color values

HEX#28A52E
RGBrgb(40, 165, 46)
HSLhsl(123, 61%, 40%)
HSVhsv(123, 76%, 65%)
CMYKcmyk(75.8%, 0%, 72.1%, 35.3%)
CIE-LABlab(59.49, -56.24, 49.57)
CIE-LCHlch(59.49, 74.97, 138.61°)
OKLaboklab(63.23% -0.1524 0.1129)
OKLCHoklch(63.23% 0.19 143.5)
XYZxyz(14.8224, 27.5569, 7.1221)
Luminance0.2756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A52E #A5289F
analogous
#60A528 #28A52E #28A56C
triadic
#28A52E #2E28A5 #A52E28
tetradic
#28A52E #2860A5 #A5289F #A56C28
square
#28A52E #2860A5 #A5289F #A56C28
split-complementary
#28A52E #6C28A5 #A52860
monochromatic
#104213 #1C7420 #28A52E #3BCF42 #6CDB71

Accessibility & contrast

On white

3.22
#28A52E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A52E#FFFFFF#000000##000000
##28A52E1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951A
Deuteranopia (green-blind)
#9A8C3A
Tritanopia (blue-blind)
#00A08E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #28a52e;
/* rgb */ color: rgb(40, 165, 46);
/* oklch */ color: oklch(63.2% 0.190 143.5);
Tailwind
colors: {
  custom: {
    50: '#77c16e',
    500: '#28a52e',
    950: '#000000',
  },
}
SCSS
$custom: #28a52e;
$custom-light: #77c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#28a52e",
  "rgb": {
    "r": 40,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 122.88,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63227,
    "c": 0.18964,
    "h": 143.5
  },
  "luminance": 0.27559
}

Semantic roles & 50–950 ramp

primary
#28A52E
secondary
#C267BE
accent
#44DCE4
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A52E

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

Preview Lab → · Contrast checker → · Palette generator →

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