#28AF4A#28AF4A

#28AF4A is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.181 H 147.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#28AF4A
RGBrgb(40, 175, 74)
HSLhsl(135, 63%, 42%)
HSVhsv(135, 77%, 69%)
CMYKcmyk(77.1%, 0%, 57.7%, 31.4%)
CIE-LABlab(63.01, -56.46, 41.26)
CIE-LCHlch(63.01, 69.93, 143.84°)
OKLaboklab(66.24% -0.1519 0.098)
OKLCHoklch(66.24% 0.181 147.2)
XYZxyz(17.4397, 31.6034, 11.6582)
Luminance0.3160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF4A #AF288D
analogous
#4AAF28 #28AF4A #28AF8E
triadic
#28AF4A #4A28AF #AF4A28
tetradic
#28AF4A #284AAF #AF288D #AF8E28
square
#28AF4A #284AAF #AF288D #AF8E28
split-complementary
#28AF4A #8E28AF #AF284A
monochromatic
#114B20 #1D7D35 #28AF4A #41D466 #73DF8E

Accessibility & contrast

On white

2.87
#28AF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#28AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF4A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF4A#FFFFFF#000000##000000
##28AF4A1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F40
Deuteranopia (green-blind)
#A29452
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af4a;
/* rgb */ color: rgb(40, 175, 74);
/* oklch */ color: oklch(66.2% 0.181 147.2);
Tailwind
colors: {
  custom: {
    50: '#78c87f',
    500: '#28af4a',
    950: '#000000',
  },
}
SCSS
$custom: #28af4a;
$custom-light: #78c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#28af4a",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 135.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66237,
    "c": 0.18077,
    "h": 147.2
  },
  "luminance": 0.31605
}

Semantic roles & 50–950 ramp

primary
#28AF4A
secondary
#C66DB0
accent
#42BDE6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #28AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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