#28AE2D#28AE2D

#28AE2D is a light, highly saturated green. Relative luminance 0.309; OKLCH L 65.7% C 0.200 H 143.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#28AE2D
RGBrgb(40, 174, 45)
HSLhsl(122, 63%, 42%)
HSVhsv(122, 77%, 68%)
CMYKcmyk(77%, 0%, 74.1%, 31.8%)
CIE-LABlab(62.43, -59.24, 52.95)
CIE-LCHlch(62.43, 79.46, 138.21°)
OKLaboklab(65.67% -0.1606 0.1198)
OKLCHoklch(65.67% 0.2 143.3)
XYZxyz(16.4837, 30.9107, 7.5798)
Luminance0.3091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE2D #AE28A9
analogous
#66AE28 #28AE2D #28AE70
triadic
#28AE2D #2D28AE #AE2D28
tetradic
#28AE2D #2866AE #AE28A9 #AE7028
square
#28AE2D #2866AE #AE28A9 #AE7028
split-complementary
#28AE2D #7028AE #AE2866
monochromatic
#114A13 #1D7C20 #28AE2D #40D346 #72DF76

Accessibility & contrast

On white

2.92
#28AE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#28AE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AE2D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AE2D#FFFFFF#000000##000000
##28AE2D1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D14
Deuteranopia (green-blind)
#A3933B
Tritanopia (blue-blind)
#00A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #28ae2d;
/* rgb */ color: rgb(40, 174, 45);
/* oklch */ color: oklch(65.7% 0.200 143.3);
Tailwind
colors: {
  custom: {
    50: '#79c76e',
    500: '#28ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #28ae2d;
$custom-light: #79c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae2d",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 122.239,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65672,
    "c": 0.20035,
    "h": 143.3
  },
  "luminance": 0.30913
}

Semantic roles & 50–950 ramp

primary
#28AE2D
secondary
#C66CC2
accent
#42E0E6
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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