#28AE2E#28AE2E

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

Color values

HEX#28AE2E
RGBrgb(40, 174, 46)
HSLhsl(123, 63%, 42%)
HSVhsv(123, 77%, 68%)
CMYKcmyk(77%, 0%, 73.6%, 31.8%)
CIE-LABlab(62.44, -59.16, 52.60)
CIE-LCHlch(62.44, 79.16, 138.36°)
OKLaboklab(65.68% -0.1603 0.1192)
OKLCHoklch(65.68% 0.2 143.4)
XYZxyz(16.5032, 30.9185, 7.6824)
Luminance0.3092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE2E #AE28A8
analogous
#65AE28 #28AE2E #28AE71
triadic
#28AE2E #2E28AE #AE2E28
tetradic
#28AE2E #2865AE #AE28A8 #AE7128
square
#28AE2E #2865AE #AE28A8 #AE7128
split-complementary
#28AE2E #7128AE #AE2865
monochromatic
#114A14 #1D7C21 #28AE2E #40D347 #72DF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AE2E#FFFFFF#000000##000000
##28AE2E1.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)
#B29D17
Deuteranopia (green-blind)
#A3933B
Tritanopia (blue-blind)
#00A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #28ae2e;
/* rgb */ color: rgb(40, 174, 46);
/* oklch */ color: oklch(65.7% 0.200 143.4);
Tailwind
colors: {
  custom: {
    50: '#79c76f',
    500: '#28ae2e',
    950: '#000000',
  },
}
SCSS
$custom: #28ae2e;
$custom-light: #79c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae2e",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 46
  },
  "hsl": {
    "h": 122.687,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6568,
    "c": 0.19977,
    "h": 143.4
  },
  "luminance": 0.3092
}

Semantic roles & 50–950 ramp

primary
#28AE2E
secondary
#C66CC2
accent
#42DEE6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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