#28A831#28A831

#28A831 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.1% C 0.191 H 143.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#28A831
RGBrgb(40, 168, 49)
HSLhsl(124, 62%, 41%)
HSVhsv(124, 76%, 66%)
CMYKcmyk(76.2%, 0%, 70.8%, 34.1%)
CIE-LABlab(60.49, -56.95, 49.44)
CIE-LCHlch(60.49, 75.42, 139.04°)
OKLaboklab(64.07% -0.1542 0.113)
OKLCHoklch(64.07% 0.191 143.8)
XYZxyz(15.4311, 28.6763, 7.6270)
Luminance0.2868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A831 #A8289F
analogous
#5FA828 #28A831 #28A871
triadic
#28A831 #3128A8 #A83128
tetradic
#28A831 #285FA8 #A8289F #A87128
square
#28A831 #285FA8 #A8289F #A87128
split-complementary
#28A831 #7128A8 #A8285F
monochromatic
#104514 #1C7723 #28A831 #3DD147 #6EDC76

Accessibility & contrast

On white

3.12
#28A831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#28A831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A831
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A831#FFFFFF#000000##000000
##28A8311.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981F
Deuteranopia (green-blind)
#9D8E3D
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a831;
/* rgb */ color: rgb(40, 168, 49);
/* oklch */ color: oklch(64.1% 0.191 143.8);
Tailwind
colors: {
  custom: {
    50: '#78c370',
    500: '#28a831',
    950: '#000000',
  },
}
SCSS
$custom: #28a831;
$custom-light: #78c370;
$custom-dark: #000000;
JSON
{
  "hex": "#28a831",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 124.219,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64071,
    "c": 0.19116,
    "h": 143.8
  },
  "luminance": 0.28678
}

Semantic roles & 50–950 ramp

primary
#28A831
secondary
#C369BD
accent
#43D9E5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #28A831

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

Preview Lab → · Contrast checker → · Palette generator →

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