#28AF24#28AF24

#28AF24 is a light, highly saturated green. Relative luminance 0.312; OKLCH L 65.9% C 0.206 H 142.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#28AF24
RGBrgb(40, 175, 36)
HSLhsl(118, 66%, 41%)
HSVhsv(118, 79%, 69%)
CMYKcmyk(77.1%, 0%, 79.4%, 31.4%)
CIE-LABlab(62.71, -60.20, 56.25)
CIE-LCHlch(62.71, 82.39, 136.95°)
OKLaboklab(65.88% -0.1636 0.1255)
OKLCHoklch(65.88% 0.206 142.5)
XYZxyz(16.5225, 31.2365, 6.8272)
Luminance0.3124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF24 #AB24AF
analogous
#6EAF24 #28AF24 #24AF66
triadic
#28AF24 #2428AF #AF2428
tetradic
#28AF24 #246EAF #AB24AF #AF6624
square
#28AF24 #246EAF #AB24AF #AF6624
split-complementary
#28AF24 #6624AF #AF246E
monochromatic
#11490F #1C7C1A #28AF24 #3ED63A #70E16D

Accessibility & contrast

On white

2.90
#28AF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#28AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF24
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF24#FFFFFF#000000##000000
##28AF241.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#00AA95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af24;
/* rgb */ color: rgb(40, 175, 36);
/* oklch */ color: oklch(65.9% 0.206 142.5);
Tailwind
colors: {
  custom: {
    50: '#7ac86a',
    500: '#28af24',
    950: '#000000',
  },
}
SCSS
$custom: #28af24;
$custom-light: #7ac86a;
$custom-dark: #000000;
JSON
{
  "hex": "#28af24",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 118.273,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65884,
    "c": 0.20617,
    "h": 142.5
  },
  "luminance": 0.31238
}

Semantic roles & 50–950 ramp

primary
#28AF24
secondary
#C468C7
accent
#3FE9E4
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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