#28A22A#28A22A

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

Color values

HEX#28A22A
RGBrgb(40, 162, 42)
HSLhsl(121, 60%, 40%)
HSVhsv(121, 75%, 64%)
CMYKcmyk(75.3%, 0%, 74.1%, 36.5%)
CIE-LABlab(58.47, -55.60, 50.04)
CIE-LCHlch(58.47, 74.80, 138.01°)
OKLaboklab(62.37% -0.1508 0.1134)
OKLCHoklch(62.37% 0.189 143.1)
XYZxyz(14.2124, 26.4573, 6.5478)
Luminance0.2646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A22A #A228A0
analogous
#63A228 #28A22A #28A267
triadic
#28A22A #2A28A2 #A22A28
tetradic
#28A22A #2863A2 #A228A0 #A26728
square
#28A22A #2863A2 #A228A0 #A26728
split-complementary
#28A22A #6728A2 #A22863
monochromatic
#104011 #1C711D #28A22A #39CE3C #6ADA6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A22A#FFFFFF#000000##000000
##28A22A1.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)
#A69214
Deuteranopia (green-blind)
#988937
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a22a;
/* rgb */ color: rgb(40, 162, 42);
/* oklch */ color: oklch(62.4% 0.189 143.1);
Tailwind
colors: {
  custom: {
    50: '#77bf6b',
    500: '#28a22a',
    950: '#000000',
  },
}
SCSS
$custom: #28a22a;
$custom-light: #77bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#28a22a",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 120.984,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62372,
    "c": 0.18867,
    "h": 143.1
  },
  "luminance": 0.26459
}

Semantic roles & 50–950 ramp

primary
#28A22A
secondary
#C165BF
accent
#44E1E4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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