#28A22E#28A22E

#28A22E is a light, vivid green. Relative luminance 0.265; OKLCH L 62.4% C 0.186 H 143.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#28A22E
RGBrgb(40, 162, 46)
HSLhsl(123, 60%, 40%)
HSVhsv(123, 75%, 64%)
CMYKcmyk(75.3%, 0%, 71.6%, 36.5%)
CIE-LABlab(58.50, -55.25, 48.54)
CIE-LCHlch(58.50, 73.54, 138.70°)
OKLaboklab(62.41% -0.1497 0.1107)
OKLCHoklch(62.41% 0.186 143.5)
XYZxyz(14.2876, 26.4874, 6.9438)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A22E #A2289C
analogous
#5FA228 #28A22E #28A26B
triadic
#28A22E #2E28A2 #A22E28
tetradic
#28A22E #285FA2 #A2289C #A26B28
square
#28A22E #285FA2 #A2289C #A26B28
split-complementary
#28A22E #6B28A2 #A2285F
monochromatic
#104012 #1C7120 #28A22E #39CE40 #6ADA70

Accessibility & contrast

On white

3.33
#28A22E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#28A22E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A22E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A22E#FFFFFF#000000##000000
##28A22E1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#98893A
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a22e;
/* rgb */ color: rgb(40, 162, 46);
/* oklch */ color: oklch(62.4% 0.186 143.5);
Tailwind
colors: {
  custom: {
    50: '#76bf6d',
    500: '#28a22e',
    950: '#000000',
  },
}
SCSS
$custom: #28a22e;
$custom-light: #76bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a22e",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 122.951,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62405,
    "c": 0.1862,
    "h": 143.5
  },
  "luminance": 0.26489
}

Semantic roles & 50–950 ramp

primary
#28A22E
secondary
#C165BC
accent
#44DCE4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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