#28A62A#28A62A

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

Color values

HEX#28A62A
RGBrgb(40, 166, 42)
HSLhsl(121, 61%, 40%)
HSVhsv(121, 76%, 65%)
CMYKcmyk(75.9%, 0%, 74.7%, 34.9%)
CIE-LABlab(59.79, -56.90, 51.37)
CIE-LCHlch(59.79, 76.66, 137.92°)
OKLaboklab(63.47% -0.1544 0.1161)
OKLCHoklch(63.47% 0.193 143)
XYZxyz(14.9283, 27.8890, 6.7864)
Luminance0.2789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A62A #A628A4
analogous
#65A628 #28A62A #28A669
triadic
#28A62A #2A28A6 #A62A28
tetradic
#28A62A #2865A6 #A628A4 #A66928
square
#28A62A #2865A6 #A628A4 #A66928
split-complementary
#28A62A #6928A6 #A62865
monochromatic
#104311 #1C751E #28A62A #3BD03E #6DDC6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A62A#FFFFFF#000000##000000
##28A62A1.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)
#AA9612
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #28a62a;
/* rgb */ color: rgb(40, 166, 42);
/* oklch */ color: oklch(63.5% 0.193 143.0);
Tailwind
colors: {
  custom: {
    50: '#78c26c',
    500: '#28a62a',
    950: '#000000',
  },
}
SCSS
$custom: #28a62a;
$custom-light: #78c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a62a",
  "rgb": {
    "r": 40,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 120.952,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63469,
    "c": 0.19318,
    "h": 143
  },
  "luminance": 0.27891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28A62A

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

Preview Lab → · Contrast checker → · Palette generator →

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