#28A22B#28A22B

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

Color values

HEX#28A22B
RGBrgb(40, 162, 43)
HSLhsl(121, 60%, 40%)
HSVhsv(121, 75%, 64%)
CMYKcmyk(75.3%, 0%, 73.5%, 36.5%)
CIE-LABlab(58.48, -55.51, 49.67)
CIE-LCHlch(58.48, 74.49, 138.18°)
OKLaboklab(62.38% -0.1506 0.1127)
OKLCHoklch(62.38% 0.188 143.2)
XYZxyz(14.2306, 26.4646, 6.6432)
Luminance0.2647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A22B #A2289F
analogous
#62A228 #28A22B #28A268
triadic
#28A22B #2B28A2 #A22B28
tetradic
#28A22B #2862A2 #A2289F #A26828
square
#28A22B #2862A2 #A2289F #A26828
split-complementary
#28A22B #6828A2 #A22862
monochromatic
#104011 #1C711E #28A22B #39CE3D #6ADA6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #28a22b;
/* rgb */ color: rgb(40, 162, 43);
/* oklch */ color: oklch(62.4% 0.188 143.2);
Tailwind
colors: {
  custom: {
    50: '#77bf6c',
    500: '#28a22b',
    950: '#000000',
  },
}
SCSS
$custom: #28a22b;
$custom-light: #77bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a22b",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 121.475,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6238,
    "c": 0.18808,
    "h": 143.2
  },
  "luminance": 0.26466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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