#28A251#28A251

#28A251 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.158 H 149.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#28A251
RGBrgb(40, 162, 81)
HSLhsl(140, 60%, 40%)
HSVhsv(140, 75%, 64%)
CMYKcmyk(75.3%, 0%, 50%, 36.5%)
CIE-LABlab(58.87, -50.83, 32.75)
CIE-LCHlch(58.87, 60.47, 147.21°)
OKLaboklab(62.83% -0.1367 0.0796)
OKLCHoklch(62.83% 0.158 149.8)
XYZxyz(15.2793, 26.8841, 12.1669)
Luminance0.2689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A251 #A22879
analogous
#3CA228 #28A251 #28A28E
triadic
#28A251 #5128A2 #A25128
tetradic
#28A251 #283CA2 #A22879 #A28E28
square
#28A251 #283CA2 #A22879 #A28E28
split-complementary
#28A251 #8E28A2 #A2283C
monochromatic
#104020 #1C7138 #28A251 #39CE6B #6ADA90

Accessibility & contrast

On white

3.29
#28A251 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#28A251 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A251
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A251#FFFFFF#000000##000000
##28A2511.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944A
Deuteranopia (green-blind)
#958A57
Tritanopia (blue-blind)
#009F8F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a251;
/* rgb */ color: rgb(40, 162, 81);
/* oklch */ color: oklch(62.8% 0.158 149.8);
Tailwind
colors: {
  custom: {
    50: '#75bf83',
    500: '#28a251',
    950: '#000000',
  },
}
SCSS
$custom: #28a251;
$custom-light: #75bf83;
$custom-dark: #000000;
JSON
{
  "hex": "#28a251",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 140.164,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62831,
    "c": 0.15816,
    "h": 149.8
  },
  "luminance": 0.26886
}

Semantic roles & 50–950 ramp

primary
#28A251
secondary
#C165A2
accent
#44AEE4
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #28A251

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

Preview Lab → · Contrast checker → · Palette generator →

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