#28A452#28A452

#28A452 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.4% C 0.160 H 149.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#28A452
RGBrgb(40, 164, 82)
HSLhsl(140, 61%, 40%)
HSVhsv(140, 76%, 64%)
CMYKcmyk(75.6%, 0%, 50%, 35.7%)
CIE-LABlab(59.53, -51.40, 33.07)
CIE-LCHlch(59.53, 61.12, 147.24°)
OKLaboklab(63.39% -0.1382 0.0804)
OKLCHoklch(63.39% 0.16 149.8)
XYZxyz(15.6722, 27.6094, 12.4842)
Luminance0.2761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A452 #A4287A
analogous
#3CA428 #28A452 #28A490
triadic
#28A452 #5228A4 #A45228
tetradic
#28A452 #283CA4 #A4287A #A49028
square
#28A452 #283CA4 #A4287A #A49028
split-complementary
#28A452 #9028A4 #A4283C
monochromatic
#104221 #1C7339 #28A452 #3ACF6D #6BDB91

Accessibility & contrast

On white

3.22
#28A452 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#28A452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A452
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A452#FFFFFF#000000##000000
##28A4521.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5954B
Deuteranopia (green-blind)
#978B58
Tritanopia (blue-blind)
#00A191
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #28a452;
/* rgb */ color: rgb(40, 164, 82);
/* oklch */ color: oklch(63.4% 0.160 149.8);
Tailwind
colors: {
  custom: {
    50: '#75c084',
    500: '#28a452',
    950: '#000000',
  },
}
SCSS
$custom: #28a452;
$custom-light: #75c084;
$custom-dark: #000000;
JSON
{
  "hex": "#28a452",
  "rgb": {
    "r": 40,
    "g": 164,
    "b": 82
  },
  "hsl": {
    "h": 140.323,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.63388,
    "c": 0.15985,
    "h": 149.8
  },
  "luminance": 0.27611
}

Semantic roles & 50–950 ramp

primary
#28A452
secondary
#C166A3
accent
#44AEE4
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #28A452

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

Preview Lab → · Contrast checker → · Palette generator →

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