#28A22D#28A22D

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

Color values

HEX#28A22D
RGBrgb(40, 162, 45)
HSLhsl(122, 60%, 40%)
HSVhsv(122, 75%, 64%)
CMYKcmyk(75.3%, 0%, 72.2%, 36.5%)
CIE-LABlab(58.49, -55.34, 48.92)
CIE-LCHlch(58.49, 73.86, 138.52°)
OKLaboklab(62.4% -0.15 0.1114)
OKLCHoklch(62.4% 0.187 143.4)
XYZxyz(14.2681, 26.4796, 6.8412)
Luminance0.2648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A22D #A2289D
analogous
#60A228 #28A22D #28A26A
triadic
#28A22D #2D28A2 #A22D28
tetradic
#28A22D #2860A2 #A2289D #A26A28
square
#28A22D #2860A2 #A2289D #A26A28
split-complementary
#28A22D #6A28A2 #A22860
monochromatic
#104012 #1C711F #28A22D #39CE3F #6ADA6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A22D#FFFFFF#000000##000000
##28A22D1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28a22d;
/* rgb */ color: rgb(40, 162, 45);
/* oklch */ color: oklch(62.4% 0.187 143.4);
Tailwind
colors: {
  custom: {
    50: '#76bf6d',
    500: '#28a22d',
    950: '#000000',
  },
}
SCSS
$custom: #28a22d;
$custom-light: #76bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a22d",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 122.459,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62396,
    "c": 0.18684,
    "h": 143.4
  },
  "luminance": 0.26481
}

Semantic roles & 50–950 ramp

primary
#28A22D
secondary
#C165BD
accent
#44DDE4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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