#28A122#28A122

#28A122 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#28A122
RGBrgb(40, 161, 34)
HSLhsl(117, 65%, 38%)
HSVhsv(117, 79%, 63%)
CMYKcmyk(75.2%, 0%, 78.9%, 36.9%)
CIE-LABlab(58.09, -55.87, 52.45)
CIE-LCHlch(58.09, 76.63, 136.81°)
OKLaboklab(62.04% -0.1519 0.1173)
OKLCHoklch(62.04% 0.192 142.3)
XYZxyz(13.9078, 26.0548, 5.8092)
Luminance0.2606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A122 #9B22A1
analogous
#67A122 #28A122 #22A15B
triadic
#28A122 #2228A1 #A12228
tetradic
#28A122 #2267A1 #9B22A1 #A15B22
square
#28A122 #2267A1 #9B22A1 #A15B22
split-complementary
#28A122 #5B22A1 #A12267
monochromatic
#0F3C0D #1B6E17 #28A122 #35D32D #66DD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A122#FFFFFF#000000##000000
##28A1221.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)
#978831
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a122;
/* rgb */ color: rgb(40, 161, 34);
/* oklch */ color: oklch(62.0% 0.192 142.3);
Tailwind
colors: {
  custom: {
    50: '#77be67',
    500: '#28a122',
    950: '#000000',
  },
}
SCSS
$custom: #28a122;
$custom-light: #77be67;
$custom-dark: #000000;
JSON
{
  "hex": "#28a122",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 117.165,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62041,
    "c": 0.19194,
    "h": 142.3
  },
  "luminance": 0.26056
}

Semantic roles & 50–950 ramp

primary
#28A122
secondary
#BD5DC2
accent
#40E8E0
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A122

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

Preview Lab → · Contrast checker → · Palette generator →

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