#28A031#28A031

#28A031 is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.182 H 143.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#28A031
RGBrgb(40, 160, 49)
HSLhsl(125, 60%, 39%)
HSVhsv(125, 75%, 63%)
CMYKcmyk(75%, 0%, 69.4%, 37.3%)
CIE-LABlab(57.86, -54.30, 46.66)
CIE-LCHlch(57.86, 71.59, 139.33°)
OKLaboklab(61.88% -0.147 0.1072)
OKLCHoklch(61.88% 0.182 143.9)
XYZxyz(13.9993, 25.8129, 7.1497)
Luminance0.2581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A031 #A02897
analogous
#5BA028 #28A031 #28A06D
triadic
#28A031 #3128A0 #A03128
tetradic
#28A031 #285BA0 #A02897 #A06D28
square
#28A031 #285BA0 #A02897 #A06D28
split-complementary
#28A031 #6D28A0 #A0285B
monochromatic
#103E13 #1C6F22 #28A031 #38CD43 #69D971

Accessibility & contrast

On white

3.41
#28A031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#28A031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A031
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A031#FFFFFF#000000##000000
##28A0311.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39121
Deuteranopia (green-blind)
#96873C
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a031;
/* rgb */ color: rgb(40, 160, 49);
/* oklch */ color: oklch(61.9% 0.182 143.9);
Tailwind
colors: {
  custom: {
    50: '#76bd6f',
    500: '#28a031',
    950: '#000000',
  },
}
SCSS
$custom: #28a031;
$custom-light: #76bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#28a031",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 124.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.18189,
    "h": 143.9
  },
  "luminance": 0.25814
}

Semantic roles & 50–950 ramp

primary
#28A031
secondary
#C064B9
accent
#45D7E3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A031

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

Preview Lab → · Contrast checker → · Palette generator →

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