#28AF22#28AF22

#28AF22 is a light, highly saturated green. Relative luminance 0.312; OKLCH L 65.9% C 0.207 H 142.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#28AF22
RGBrgb(40, 175, 34)
HSLhsl(117, 67%, 41%)
HSVhsv(117, 81%, 69%)
CMYKcmyk(77.1%, 0%, 80.6%, 31.4%)
CIE-LABlab(62.70, -60.33, 56.84)
CIE-LCHlch(62.70, 82.89, 136.70°)
OKLaboklab(65.87% -0.164 0.1265)
OKLCHoklch(65.87% 0.207 142.4)
XYZxyz(16.4928, 31.2246, 6.6708)
Luminance0.3123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF22 #A922AF
analogous
#6EAF22 #28AF22 #22AF62
triadic
#28AF22 #2228AF #AF2228
tetradic
#28AF22 #226EAF #A922AF #AF6222
square
#28AF22 #226EAF #A922AF #AF6222
split-complementary
#28AF22 #6222AF #AF226E
monochromatic
#11490E #1C7C18 #28AF22 #3DD836 #6FE269

Accessibility & contrast

On white

2.90
#28AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#28AF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF22
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF22#FFFFFF#000000##000000
##28AF221.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A49433
Tritanopia (blue-blind)
#00AA95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af22;
/* rgb */ color: rgb(40, 175, 34);
/* oklch */ color: oklch(65.9% 0.207 142.4);
Tailwind
colors: {
  custom: {
    50: '#7ac869',
    500: '#28af22',
    950: '#000000',
  },
}
SCSS
$custom: #28af22;
$custom-light: #7ac869;
$custom-dark: #000000;
JSON
{
  "hex": "#28af22",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 117.447,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65872,
    "c": 0.2071,
    "h": 142.4
  },
  "luminance": 0.31227
}

Semantic roles & 50–950 ramp

primary
#28AF22
secondary
#C465C8
accent
#3DEAE3
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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