#28AE2A#28AE2A

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

Color values

HEX#28AE2A
RGBrgb(40, 174, 42)
HSLhsl(121, 63%, 42%)
HSVhsv(121, 77%, 68%)
CMYKcmyk(77%, 0%, 75.9%, 31.8%)
CIE-LABlab(62.41, -59.47, 54.00)
CIE-LCHlch(62.41, 80.33, 137.76°)
OKLaboklab(65.65% -0.1613 0.1216)
OKLCHoklch(65.65% 0.202 143)
XYZxyz(16.4280, 30.8885, 7.2863)
Luminance0.3089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE2A #AE28AC
analogous
#69AE28 #28AE2A #28AE6D
triadic
#28AE2A #2A28AE #AE2A28
tetradic
#28AE2A #2869AE #AE28AC #AE6D28
square
#28AE2A #2869AE #AE28AC #AE6D28
split-complementary
#28AE2A #6D28AE #AE2869
monochromatic
#114A12 #1D7C1E #28AE2A #40D342 #72DF73

Accessibility & contrast

On white

2.93
#28AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AE2A#FFFFFF#000000##000000
##28AE2A1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28ae2a;
/* rgb */ color: rgb(40, 174, 42);
/* oklch */ color: oklch(65.6% 0.202 143.0);
Tailwind
colors: {
  custom: {
    50: '#79c76d',
    500: '#28ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #28ae2a;
$custom-light: #79c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae2a",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 120.896,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.20204,
    "h": 143
  },
  "luminance": 0.3089
}

Semantic roles & 50–950 ramp

primary
#28AE2A
secondary
#C66CC4
accent
#42E3E6
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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