#28AE2B#28AE2B

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

Color values

HEX#28AE2B
RGBrgb(40, 174, 43)
HSLhsl(121, 63%, 42%)
HSVhsv(121, 77%, 68%)
CMYKcmyk(77%, 0%, 75.3%, 31.8%)
CIE-LABlab(62.42, -59.40, 53.66)
CIE-LCHlch(62.42, 80.04, 137.91°)
OKLaboklab(65.66% -0.1611 0.121)
OKLCHoklch(65.66% 0.201 143.1)
XYZxyz(16.4461, 30.8957, 7.3817)
Luminance0.3090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE2B #AE28AB
analogous
#68AE28 #28AE2B #28AE6E
triadic
#28AE2B #2B28AE #AE2B28
tetradic
#28AE2B #2868AE #AE28AB #AE6E28
square
#28AE2B #2868AE #AE28AB #AE6E28
split-complementary
#28AE2B #6E28AE #AE2868
monochromatic
#114A12 #1D7C1F #28AE2B #40D343 #72DF74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AE2B#FFFFFF#000000##000000
##28AE2B1.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)
#B29D0F
Deuteranopia (green-blind)
#A39339
Tritanopia (blue-blind)
#00A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #28ae2b;
/* rgb */ color: rgb(40, 174, 43);
/* oklch */ color: oklch(65.7% 0.201 143.1);
Tailwind
colors: {
  custom: {
    50: '#79c76d',
    500: '#28ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #28ae2b;
$custom-light: #79c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae2b",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 121.343,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65657,
    "c": 0.20149,
    "h": 143.1
  },
  "luminance": 0.30898
}

Semantic roles & 50–950 ramp

primary
#28AE2B
secondary
#C66CC4
accent
#42E2E6
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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