#28A22F#28A22F

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

Color values

HEX#28A22F
RGBrgb(40, 162, 47)
HSLhsl(123, 60%, 40%)
HSVhsv(123, 75%, 64%)
CMYKcmyk(75.3%, 0%, 71%, 36.5%)
CIE-LABlab(58.50, -55.16, 48.15)
CIE-LCHlch(58.50, 73.22, 138.88°)
OKLaboklab(62.41% -0.1494 0.1101)
OKLCHoklch(62.41% 0.186 143.6)
XYZxyz(14.3076, 26.4954, 7.0489)
Luminance0.2650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A22F #A2289B
analogous
#5EA228 #28A22F #28A26C
triadic
#28A22F #2F28A2 #A22F28
tetradic
#28A22F #285EA2 #A2289B #A26C28
square
#28A22F #285EA2 #A2289B #A26C28
split-complementary
#28A22F #6C28A2 #A2285E
monochromatic
#104013 #1C7121 #28A22F #39CE42 #6ADA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A22F#FFFFFF#000000##000000
##28A22F1.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)
#A5921D
Deuteranopia (green-blind)
#98893A
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a22f;
/* rgb */ color: rgb(40, 162, 47);
/* oklch */ color: oklch(62.4% 0.186 143.6);
Tailwind
colors: {
  custom: {
    50: '#76bf6e',
    500: '#28a22f',
    950: '#000000',
  },
}
SCSS
$custom: #28a22f;
$custom-light: #76bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#28a22f",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 123.443,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62413,
    "c": 0.18556,
    "h": 143.6
  },
  "luminance": 0.26497
}

Semantic roles & 50–950 ramp

primary
#28A22F
secondary
#C165BB
accent
#44DAE4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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