#28A256#28A256

#28A256 is a light, vivid green. Relative luminance 0.270; OKLCH L 62.9% C 0.154 H 151.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#28A256
RGBrgb(40, 162, 86)
HSLhsl(143, 60%, 40%)
HSVhsv(143, 75%, 64%)
CMYKcmyk(75.3%, 0%, 46.9%, 36.5%)
CIE-LABlab(58.94, -50.00, 30.24)
CIE-LCHlch(58.94, 58.43, 148.83°)
OKLaboklab(62.91% -0.1344 0.0741)
OKLCHoklch(62.91% 0.154 151.1)
XYZxyz(15.4738, 26.9619, 13.1909)
Luminance0.2696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A256 #A22874
analogous
#37A228 #28A256 #28A293
triadic
#28A256 #5628A2 #A25628
tetradic
#28A256 #2837A2 #A22874 #A29328
square
#28A256 #2837A2 #A22874 #A29328
split-complementary
#28A256 #9328A2 #A22837
monochromatic
#104022 #1C713C #28A256 #39CE71 #6ADA94

Accessibility & contrast

On white

3.28
#28A256 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#28A256 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A256
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A256#FFFFFF#000000##000000
##28A2561.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39450
Deuteranopia (green-blind)
#948A5B
Tritanopia (blue-blind)
#009F90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a256;
/* rgb */ color: rgb(40, 162, 86);
/* oklch */ color: oklch(62.9% 0.154 151.1);
Tailwind
colors: {
  custom: {
    50: '#75bf87',
    500: '#28a256',
    950: '#000000',
  },
}
SCSS
$custom: #28a256;
$custom-light: #75bf87;
$custom-dark: #000000;
JSON
{
  "hex": "#28a256",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 142.623,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62914,
    "c": 0.15352,
    "h": 151.1
  },
  "luminance": 0.26964
}

Semantic roles & 50–950 ramp

primary
#28A256
secondary
#C1659E
accent
#44A7E4
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #28A256

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

Preview Lab → · Contrast checker → · Palette generator →

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