#28A32A#28A32A

#28A32A is a light, vivid green. Relative luminance 0.268; OKLCH L 62.6% C 0.190 H 143.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#28A32A
RGBrgb(40, 163, 42)
HSLhsl(121, 61%, 40%)
HSVhsv(121, 75%, 64%)
CMYKcmyk(75.5%, 0%, 74.2%, 36.1%)
CIE-LABlab(58.80, -55.93, 50.37)
CIE-LCHlch(58.80, 75.27, 137.99°)
OKLaboklab(62.65% -0.1517 0.1141)
OKLCHoklch(62.65% 0.19 143.1)
XYZxyz(14.3893, 26.8110, 6.6067)
Luminance0.2681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A32A #A328A1
analogous
#63A328 #28A32A #28A368
triadic
#28A32A #2A28A3 #A32A28
tetradic
#28A32A #2863A3 #A328A1 #A36828
square
#28A32A #2863A3 #A328A1 #A36828
split-complementary
#28A32A #6828A3 #A32863
monochromatic
#104111 #1C721D #28A32A #3ACF3C #6BDB6D

Accessibility & contrast

On white

3.30
#28A32A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#28A32A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A32A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A32A#FFFFFF#000000##000000
##28A32A1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79313
Deuteranopia (green-blind)
#998A37
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a32a;
/* rgb */ color: rgb(40, 163, 42);
/* oklch */ color: oklch(62.6% 0.190 143.1);
Tailwind
colors: {
  custom: {
    50: '#77bf6c',
    500: '#28a32a',
    950: '#000000',
  },
}
SCSS
$custom: #28a32a;
$custom-light: #77bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a32a",
  "rgb": {
    "r": 40,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 120.976,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62647,
    "c": 0.18981,
    "h": 143.1
  },
  "luminance": 0.26813
}

Semantic roles & 50–950 ramp

primary
#28A32A
secondary
#C166C0
accent
#44E1E4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A32A

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

Preview Lab → · Contrast checker → · Palette generator →

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