#28A138#28A138

#28A138 is a light, vivid green. Relative luminance 0.262; OKLCH L 62.2% C 0.178 H 144.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#28A138
RGBrgb(40, 161, 56)
HSLhsl(128, 60%, 39%)
HSVhsv(128, 75%, 63%)
CMYKcmyk(75.2%, 0%, 65.2%, 36.9%)
CIE-LABlab(58.25, -53.91, 44.09)
CIE-LCHlch(58.25, 69.64, 140.72°)
OKLaboklab(62.23% -0.1456 0.1025)
OKLCHoklch(62.23% 0.178 144.9)
XYZxyz(14.3328, 26.2247, 8.0471)
Luminance0.2623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A138 #A12891
analogous
#55A128 #28A138 #28A175
triadic
#28A138 #3828A1 #A13828
tetradic
#28A138 #2855A1 #A12891 #A17528
square
#28A138 #2855A1 #A12891 #A17528
split-complementary
#28A138 #7528A1 #A12855
monochromatic
#103F16 #1C7027 #28A138 #39CE4C #6ADA78

Accessibility & contrast

On white

3.36
#28A138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#28A138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A138
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A138#FFFFFF#000000##000000
##28A1381.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922B
Deuteranopia (green-blind)
#968841
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a138;
/* rgb */ color: rgb(40, 161, 56);
/* oklch */ color: oklch(62.2% 0.178 144.9);
Tailwind
colors: {
  custom: {
    50: '#76be73',
    500: '#28a138',
    950: '#000000',
  },
}
SCSS
$custom: #28a138;
$custom-light: #76be73;
$custom-dark: #000000;
JSON
{
  "hex": "#28a138",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 127.934,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62226,
    "c": 0.17807,
    "h": 144.9
  },
  "luminance": 0.26226
}

Semantic roles & 50–950 ramp

primary
#28A138
secondary
#C065B4
accent
#44CEE3
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A138

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

Preview Lab → · Contrast checker → · Palette generator →

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