#28AE28#28AE28

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

Color values

HEX#28AE28
RGBrgb(40, 174, 40)
HSLhsl(120, 63%, 42%)
HSVhsv(120, 77%, 68%)
CMYKcmyk(77%, 0%, 77%, 31.8%)
CIE-LABlab(62.40, -59.62, 54.67)
CIE-LCHlch(62.40, 80.89, 137.48°)
OKLaboklab(65.64% -0.1618 0.1227)
OKLCHoklch(65.64% 0.203 142.8)
XYZxyz(16.3931, 30.8745, 7.1025)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE28 #AE28AE
analogous
#6BAE28 #28AE28 #28AE6B
triadic
#28AE28 #2828AE #AE2828
tetradic
#28AE28 #286BAE #AE28AE #AE6B28
square
#28AE28 #286BAE #AE28AE #AE6B28
split-complementary
#28AE28 #6B28AE #AE286B
monochromatic
#114A11 #1D7C1D #28AE28 #40D340 #72DF72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AE28#FFFFFF#000000##000000
##28AE281.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)
#B29D06
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#00A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #28ae28;
/* rgb */ color: rgb(40, 174, 40);
/* oklch */ color: oklch(65.6% 0.203 142.8);
Tailwind
colors: {
  custom: {
    50: '#7ac76c',
    500: '#28ae28',
    950: '#000000',
  },
}
SCSS
$custom: #28ae28;
$custom-light: #7ac76c;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae28",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65637,
    "c": 0.2031,
    "h": 142.8
  },
  "luminance": 0.30876
}

Semantic roles & 50–950 ramp

primary
#28AE28
secondary
#C66CC6
accent
#42E6E6
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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