#28A52C#28A52C

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

Color values

HEX#28A52C
RGBrgb(40, 165, 44)
HSLhsl(122, 61%, 40%)
HSVhsv(122, 76%, 65%)
CMYKcmyk(75.8%, 0%, 73.3%, 35.3%)
CIE-LABlab(59.47, -56.41, 50.31)
CIE-LCHlch(59.47, 75.59, 138.27°)
OKLaboklab(63.21% -0.1529 0.1142)
OKLCHoklch(63.21% 0.191 143.3)
XYZxyz(14.7839, 27.5415, 6.9193)
Luminance0.2754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A52C #A528A1
analogous
#62A528 #28A52C #28A56A
triadic
#28A52C #2C28A5 #A52C28
tetradic
#28A52C #2862A5 #A528A1 #A56A28
square
#28A52C #2862A5 #A528A1 #A56A28
split-complementary
#28A52C #6A28A5 #A52862
monochromatic
#104212 #1C741F #28A52C #3BCF40 #6CDB70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A52C#FFFFFF#000000##000000
##28A52C1.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)
#A89517
Deuteranopia (green-blind)
#9B8B39
Tritanopia (blue-blind)
#00A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #28a52c;
/* rgb */ color: rgb(40, 165, 44);
/* oklch */ color: oklch(63.2% 0.191 143.3);
Tailwind
colors: {
  custom: {
    50: '#77c16d',
    500: '#28a52c',
    950: '#000000',
  },
}
SCSS
$custom: #28a52c;
$custom-light: #77c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a52c",
  "rgb": {
    "r": 40,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 121.92,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6321,
    "c": 0.19087,
    "h": 143.3
  },
  "luminance": 0.27543
}

Semantic roles & 50–950 ramp

primary
#28A52C
secondary
#C267BF
accent
#44DFE4
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A52C

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

Preview Lab → · Contrast checker → · Palette generator →

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