#28A121#28A121

#28A121 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.0% C 0.192 H 142.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#28A121
RGBrgb(40, 161, 33)
HSLhsl(117, 66%, 38%)
HSVhsv(117, 80%, 63%)
CMYKcmyk(75.2%, 0%, 79.5%, 36.9%)
CIE-LABlab(58.08, -55.94, 52.76)
CIE-LCHlch(58.08, 76.90, 136.67°)
OKLaboklab(62.04% -0.1522 0.1178)
OKLCHoklch(62.04% 0.192 142.3)
XYZxyz(13.8936, 26.0491, 5.7343)
Luminance0.2605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A121 #9A21A1
analogous
#68A121 #28A121 #21A15A
triadic
#28A121 #2128A1 #A12128
tetradic
#28A121 #2168A1 #9A21A1 #A15A21
square
#28A121 #2168A1 #9A21A1 #A15A21
split-complementary
#28A121 #5A21A1 #A12168
monochromatic
#0F3B0C #1B6E17 #28A121 #35D42C #65DE5E

Accessibility & contrast

On white

3.38
#28A121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#28A121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A121
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A121#FFFFFF#000000##000000
##28A1211.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a121;
/* rgb */ color: rgb(40, 161, 33);
/* oklch */ color: oklch(62.0% 0.192 142.3);
Tailwind
colors: {
  custom: {
    50: '#77be67',
    500: '#28a121',
    950: '#000000',
  },
}
SCSS
$custom: #28a121;
$custom-light: #77be67;
$custom-dark: #000000;
JSON
{
  "hex": "#28a121",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 116.719,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62035,
    "c": 0.19244,
    "h": 142.3
  },
  "luminance": 0.26051
}

Semantic roles & 50–950 ramp

primary
#28A121
secondary
#BD5BC3
accent
#3FE9E0
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #28A121

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

Preview Lab → · Contrast checker → · Palette generator →

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