#28A52D#28A52D

#28A52D is a light, vivid green. Relative luminance 0.276; OKLCH L 63.2% C 0.190 H 143.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#28A52D
RGBrgb(40, 165, 45)
HSLhsl(122, 61%, 40%)
HSVhsv(122, 76%, 65%)
CMYKcmyk(75.8%, 0%, 72.7%, 35.3%)
CIE-LABlab(59.48, -56.33, 49.94)
CIE-LCHlch(59.48, 75.28, 138.44°)
OKLaboklab(63.22% -0.1527 0.1135)
OKLCHoklch(63.22% 0.19 143.4)
XYZxyz(14.8029, 27.5491, 7.0195)
Luminance0.2755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A52D #A528A0
analogous
#61A528 #28A52D #28A56B
triadic
#28A52D #2D28A5 #A52D28
tetradic
#28A52D #2861A5 #A528A0 #A56B28
square
#28A52D #2861A5 #A528A0 #A56B28
split-complementary
#28A52D #6B28A5 #A52861
monochromatic
#104212 #1C7420 #28A52D #3BCF41 #6CDB70

Accessibility & contrast

On white

3.23
#28A52D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#28A52D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A52D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A52D#FFFFFF#000000##000000
##28A52D1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89518
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#00A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #28a52d;
/* rgb */ color: rgb(40, 165, 45);
/* oklch */ color: oklch(63.2% 0.190 143.4);
Tailwind
colors: {
  custom: {
    50: '#77c16d',
    500: '#28a52d',
    950: '#000000',
  },
}
SCSS
$custom: #28a52d;
$custom-light: #77c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a52d",
  "rgb": {
    "r": 40,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 122.4,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63218,
    "c": 0.19026,
    "h": 143.4
  },
  "luminance": 0.27551
}

Semantic roles & 50–950 ramp

primary
#28A52D
secondary
#C267BE
accent
#44DEE4
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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