#28A52F#28A52F

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

Color values

HEX#28A52F
RGBrgb(40, 165, 47)
HSLhsl(123, 61%, 40%)
HSVhsv(123, 76%, 65%)
CMYKcmyk(75.8%, 0%, 71.5%, 35.3%)
CIE-LABlab(59.49, -56.15, 49.18)
CIE-LCHlch(59.49, 74.65, 138.78°)
OKLaboklab(63.24% -0.1521 0.1122)
OKLCHoklch(63.24% 0.189 143.6)
XYZxyz(14.8423, 27.5649, 7.2271)
Luminance0.2757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A52F #A5289E
analogous
#5FA528 #28A52F #28A56D
triadic
#28A52F #2F28A5 #A52F28
tetradic
#28A52F #285FA5 #A5289E #A56D28
square
#28A52F #285FA5 #A5289E #A56D28
split-complementary
#28A52F #6D28A5 #A5285F
monochromatic
#104213 #1C7421 #28A52F #3BCF43 #6CDB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A52F#FFFFFF#000000##000000
##28A52F1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951C
Deuteranopia (green-blind)
#9A8C3B
Tritanopia (blue-blind)
#00A08E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #28a52f;
/* rgb */ color: rgb(40, 165, 47);
/* oklch */ color: oklch(63.2% 0.189 143.6);
Tailwind
colors: {
  custom: {
    50: '#77c16e',
    500: '#28a52f',
    950: '#000000',
  },
}
SCSS
$custom: #28a52f;
$custom-light: #77c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#28a52f",
  "rgb": {
    "r": 40,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 123.36,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63235,
    "c": 0.18901,
    "h": 143.6
  },
  "luminance": 0.27567
}

Semantic roles & 50–950 ramp

primary
#28A52F
secondary
#C267BD
accent
#44DBE4
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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