#28A52A#28A52A

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

Color values

HEX#28A52A
RGBrgb(40, 165, 42)
HSLhsl(121, 61%, 40%)
HSVhsv(121, 76%, 65%)
CMYKcmyk(75.8%, 0%, 74.5%, 35.3%)
CIE-LABlab(59.46, -56.58, 51.04)
CIE-LCHlch(59.46, 76.20, 137.95°)
OKLaboklab(63.2% -0.1535 0.1154)
OKLCHoklch(63.2% 0.192 143.1)
XYZxyz(14.7472, 27.5268, 6.7260)
Luminance0.2753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A52A #A528A3
analogous
#64A528 #28A52A #28A568
triadic
#28A52A #2A28A5 #A52A28
tetradic
#28A52A #2864A5 #A528A3 #A56828
square
#28A52A #2864A5 #A528A3 #A56828
split-complementary
#28A52A #6828A5 #A52864
monochromatic
#104211 #1C741D #28A52A #3BCF3D #6CDB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A52A#FFFFFF#000000##000000
##28A52A1.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)
#A99512
Deuteranopia (green-blind)
#9B8B37
Tritanopia (blue-blind)
#00A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #28a52a;
/* rgb */ color: rgb(40, 165, 42);
/* oklch */ color: oklch(63.2% 0.192 143.1);
Tailwind
colors: {
  custom: {
    50: '#77c16c',
    500: '#28a52a',
    950: '#000000',
  },
}
SCSS
$custom: #28a52a;
$custom-light: #77c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a52a",
  "rgb": {
    "r": 40,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 120.96,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.19206,
    "h": 143.1
  },
  "luminance": 0.27529
}

Semantic roles & 50–950 ramp

primary
#28A52A
secondary
#C267C0
accent
#44E2E4
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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