#28A62D#28A62D

#28A62D is a light, vivid green. Relative luminance 0.279; OKLCH L 63.5% C 0.191 H 143.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#28A62D
RGBrgb(40, 166, 45)
HSLhsl(122, 61%, 40%)
HSVhsv(122, 76%, 65%)
CMYKcmyk(75.9%, 0%, 72.9%, 34.9%)
CIE-LABlab(59.81, -56.66, 50.28)
CIE-LCHlch(59.81, 75.75, 138.41°)
OKLaboklab(63.49% -0.1536 0.1143)
OKLCHoklch(63.49% 0.191 143.4)
XYZxyz(14.9840, 27.9113, 7.0798)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A62D #A628A1
analogous
#62A628 #28A62D #28A66C
triadic
#28A62D #2D28A6 #A62D28
tetradic
#28A62D #2862A6 #A628A1 #A66C28
square
#28A62D #2862A6 #A628A1 #A66C28
split-complementary
#28A62D #6C28A6 #A62862
monochromatic
#104312 #1C7520 #28A62D #3BD041 #6DDC71

Accessibility & contrast

On white

3.19
#28A62D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#28A62D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A62D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A62D#FFFFFF#000000##000000
##28A62D1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99618
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #28a62d;
/* rgb */ color: rgb(40, 166, 45);
/* oklch */ color: oklch(63.5% 0.191 143.4);
Tailwind
colors: {
  custom: {
    50: '#77c26d',
    500: '#28a62d',
    950: '#000000',
  },
}
SCSS
$custom: #28a62d;
$custom-light: #77c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a62d",
  "rgb": {
    "r": 40,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 122.381,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63492,
    "c": 0.1914,
    "h": 143.4
  },
  "luminance": 0.27913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28A62D

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

Preview Lab → · Contrast checker → · Palette generator →

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