#28A938#28A938

#28A938 is a light, vivid green. Relative luminance 0.291; OKLCH L 64.4% C 0.188 H 144.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#28A938
RGBrgb(40, 169, 56)
HSLhsl(127, 62%, 41%)
HSVhsv(127, 76%, 66%)
CMYKcmyk(76.3%, 0%, 66.9%, 33.7%)
CIE-LABlab(60.88, -56.59, 46.98)
CIE-LCHlch(60.88, 73.55, 140.30°)
OKLaboklab(64.41% -0.1529 0.1086)
OKLCHoklch(64.41% 0.188 144.6)
XYZxyz(15.7758, 29.1107, 8.5281)
Luminance0.2911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A938 #A92899
analogous
#58A928 #28A938 #28A978
triadic
#28A938 #3828A9 #A93828
tetradic
#28A938 #2858A9 #A92899 #A97828
square
#28A938 #2858A9 #A92899 #A97828
split-complementary
#28A938 #7828A9 #A92858
monochromatic
#114617 #1C7828 #28A938 #3DD14F #6FDD7C

Accessibility & contrast

On white

3.08
#28A938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#28A938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A938
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A938#FFFFFF#000000##000000
##28A9381.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9929
Deuteranopia (green-blind)
#9E8F42
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #28a938;
/* rgb */ color: rgb(40, 169, 56);
/* oklch */ color: oklch(64.4% 0.188 144.6);
Tailwind
colors: {
  custom: {
    50: '#78c474',
    500: '#28a938',
    950: '#000000',
  },
}
SCSS
$custom: #28a938;
$custom-light: #78c474;
$custom-dark: #000000;
JSON
{
  "hex": "#28a938",
  "rgb": {
    "r": 40,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 127.442,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64409,
    "c": 0.18756,
    "h": 144.6
  },
  "luminance": 0.29113
}

Semantic roles & 50–950 ramp

primary
#28A938
secondary
#C469B8
accent
#43D1E5
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #28A938

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

Preview Lab → · Contrast checker → · Palette generator →

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