#28A257#28A257

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

Color values

HEX#28A257
RGBrgb(40, 162, 87)
HSLhsl(143, 60%, 40%)
HSVhsv(143, 75%, 64%)
CMYKcmyk(75.3%, 0%, 46.3%, 36.5%)
CIE-LABlab(58.95, -49.82, 29.74)
CIE-LCHlch(58.95, 58.02, 149.17°)
OKLaboklab(62.93% -0.134 0.073)
OKLCHoklch(62.93% 0.153 151.4)
XYZxyz(15.5144, 26.9781, 13.4046)
Luminance0.2698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A257 #A22873
analogous
#36A228 #28A257 #28A294
triadic
#28A257 #5728A2 #A25728
tetradic
#28A257 #2836A2 #A22873 #A29428
square
#28A257 #2836A2 #A22873 #A29428
split-complementary
#28A257 #9428A2 #A22836
monochromatic
#104022 #1C713D #28A257 #39CE72 #6ADA95

Accessibility & contrast

On white

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

On black

6.40
#28A257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A257
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A257#FFFFFF#000000##000000
##28A2571.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28a257;
/* rgb */ color: rgb(40, 162, 87);
/* oklch */ color: oklch(62.9% 0.153 151.4);
Tailwind
colors: {
  custom: {
    50: '#75bf87',
    500: '#28a257',
    950: '#000000',
  },
}
SCSS
$custom: #28a257;
$custom-light: #75bf87;
$custom-dark: #000000;
JSON
{
  "hex": "#28a257",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 143.115,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62932,
    "c": 0.15259,
    "h": 151.4
  },
  "luminance": 0.2698
}

Semantic roles & 50–950 ramp

primary
#28A257
secondary
#C1659D
accent
#44A6E4
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #28A257

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

Preview Lab → · Contrast checker → · Palette generator →

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