#28A538#28A538

#28A538 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.3% C 0.183 H 144.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#28A538
RGBrgb(40, 165, 56)
HSLhsl(128, 61%, 40%)
HSVhsv(128, 76%, 65%)
CMYKcmyk(75.8%, 0%, 66.1%, 35.3%)
CIE-LABlab(59.57, -55.26, 45.54)
CIE-LCHlch(59.57, 71.61, 140.51°)
OKLaboklab(63.32% -0.1493 0.1056)
OKLCHoklch(63.32% 0.183 144.7)
XYZxyz(15.0430, 27.6452, 8.2839)
Luminance0.2765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A538 #A52895
analogous
#56A528 #28A538 #28A576
triadic
#28A538 #3828A5 #A53828
tetradic
#28A538 #2856A5 #A52895 #A57628
square
#28A538 #2856A5 #A52895 #A57628
split-complementary
#28A538 #7628A5 #A52856
monochromatic
#104217 #1C7427 #28A538 #3BCF4E #6CDB7A

Accessibility & contrast

On white

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

On black

6.53
#28A538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A538
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A538#FFFFFF#000000##000000
##28A5381.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8952A
Deuteranopia (green-blind)
#9A8C42
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #28a538;
/* rgb */ color: rgb(40, 165, 56);
/* oklch */ color: oklch(63.3% 0.183 144.7);
Tailwind
colors: {
  custom: {
    50: '#77c173',
    500: '#28a538',
    950: '#000000',
  },
}
SCSS
$custom: #28a538;
$custom-light: #77c173;
$custom-dark: #000000;
JSON
{
  "hex": "#28a538",
  "rgb": {
    "r": 40,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 127.68,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63319,
    "c": 0.18285,
    "h": 144.7
  },
  "luminance": 0.27647
}

Semantic roles & 50–950 ramp

primary
#28A538
secondary
#C267B6
accent
#44D0E4
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A538

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

Preview Lab → · Contrast checker → · Palette generator →

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