#28AE2F#28AE2F

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

Color values

HEX#28AE2F
RGBrgb(40, 174, 47)
HSLhsl(123, 63%, 42%)
HSVhsv(123, 77%, 68%)
CMYKcmyk(77%, 0%, 73%, 31.8%)
CIE-LABlab(62.45, -59.07, 52.23)
CIE-LCHlch(62.45, 78.85, 138.52°)
OKLaboklab(65.69% -0.16 0.1186)
OKLCHoklch(65.69% 0.199 143.5)
XYZxyz(16.5231, 30.9265, 7.7874)
Luminance0.3093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE2F #AE28A7
analogous
#64AE28 #28AE2F #28AE72
triadic
#28AE2F #2F28AE #AE2F28
tetradic
#28AE2F #2864AE #AE28A7 #AE7228
square
#28AE2F #2864AE #AE28A7 #AE7228
split-complementary
#28AE2F #7228AE #AE2864
monochromatic
#114A14 #1D7C22 #28AE2F #40D348 #72DF78

Accessibility & contrast

On white

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

On black

7.19
#28AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AE2F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AE2F#FFFFFF#000000##000000
##28AE2F1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28ae2f;
/* rgb */ color: rgb(40, 174, 47);
/* oklch */ color: oklch(65.7% 0.199 143.5);
Tailwind
colors: {
  custom: {
    50: '#79c76f',
    500: '#28ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #28ae2f;
$custom-light: #79c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae2f",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 123.134,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65687,
    "c": 0.19918,
    "h": 143.5
  },
  "luminance": 0.30928
}

Semantic roles & 50–950 ramp

primary
#28AE2F
secondary
#C66CC1
accent
#42DDE6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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