#28A62C#28A62C

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

Color values

HEX#28A62C
RGBrgb(40, 166, 44)
HSLhsl(122, 61%, 40%)
HSVhsv(122, 76%, 65%)
CMYKcmyk(75.9%, 0%, 73.5%, 34.9%)
CIE-LABlab(59.80, -56.74, 50.65)
CIE-LCHlch(59.80, 76.06, 138.25°)
OKLaboklab(63.48% -0.1538 0.1149)
OKLCHoklch(63.48% 0.192 143.2)
XYZxyz(14.9650, 27.9037, 6.9796)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A62C #A628A2
analogous
#63A628 #28A62C #28A66B
triadic
#28A62C #2C28A6 #A62C28
tetradic
#28A62C #2863A6 #A628A2 #A66B28
square
#28A62C #2863A6 #A628A2 #A66B28
split-complementary
#28A62C #6B28A6 #A62863
monochromatic
#104312 #1C751F #28A62C #3BD040 #6DDC70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A62C#FFFFFF#000000##000000
##28A62C1.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)
#AA9616
Deuteranopia (green-blind)
#9C8C39
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #28a62c;
/* rgb */ color: rgb(40, 166, 44);
/* oklch */ color: oklch(63.5% 0.192 143.2);
Tailwind
colors: {
  custom: {
    50: '#77c26d',
    500: '#28a62c',
    950: '#000000',
  },
}
SCSS
$custom: #28a62c;
$custom-light: #77c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a62c",
  "rgb": {
    "r": 40,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 121.905,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63484,
    "c": 0.192,
    "h": 143.2
  },
  "luminance": 0.27905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28A62C

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

Preview Lab → · Contrast checker → · Palette generator →

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