#28A22C#28A22C

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

Color values

HEX#28A22C
RGBrgb(40, 162, 44)
HSLhsl(122, 60%, 40%)
HSVhsv(122, 75%, 64%)
CMYKcmyk(75.3%, 0%, 72.8%, 36.5%)
CIE-LABlab(58.48, -55.43, 49.30)
CIE-LCHlch(58.48, 74.18, 138.35°)
OKLaboklab(62.39% -0.1503 0.1121)
OKLCHoklch(62.39% 0.187 143.3)
XYZxyz(14.2491, 26.4720, 6.7410)
Luminance0.2647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A22C #A2289E
analogous
#61A228 #28A22C #28A269
triadic
#28A22C #2C28A2 #A22C28
tetradic
#28A22C #2861A2 #A2289E #A26928
square
#28A22C #2861A2 #A2289E #A26928
split-complementary
#28A22C #6928A2 #A22861
monochromatic
#104011 #1C711F #28A22C #39CE3E #6ADA6E

Accessibility & contrast

On white

3.34
#28A22C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#28A22C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A22C
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A22C#FFFFFF#000000##000000
##28A22C1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59218
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a22c;
/* rgb */ color: rgb(40, 162, 44);
/* oklch */ color: oklch(62.4% 0.187 143.3);
Tailwind
colors: {
  custom: {
    50: '#76bf6c',
    500: '#28a22c',
    950: '#000000',
  },
}
SCSS
$custom: #28a22c;
$custom-light: #76bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a22c",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 121.967,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.18747,
    "h": 143.3
  },
  "luminance": 0.26474
}

Semantic roles & 50–950 ramp

primary
#28A22C
secondary
#C165BE
accent
#44DEE4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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