#28A12B#28A12B

#28A12B is a light, vivid green. Relative luminance 0.261; OKLCH L 62.1% C 0.187 H 143.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#28A12B
RGBrgb(40, 161, 43)
HSLhsl(121, 60%, 39%)
HSVhsv(121, 75%, 63%)
CMYKcmyk(75.2%, 0%, 73.3%, 36.9%)
CIE-LABlab(58.14, -55.19, 49.33)
CIE-LCHlch(58.14, 74.02, 138.21°)
OKLaboklab(62.11% -0.1497 0.112)
OKLCHoklch(62.11% 0.187 143.2)
XYZxyz(14.0551, 26.1137, 6.5847)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A12B #A1289E
analogous
#61A128 #28A12B #28A168
triadic
#28A12B #2B28A1 #A12B28
tetradic
#28A12B #2861A1 #A1289E #A16828
square
#28A12B #2861A1 #A1289E #A16828
split-complementary
#28A12B #6828A1 #A12861
monochromatic
#103F11 #1C701E #28A12B #39CE3C #6ADA6C

Accessibility & contrast

On white

3.37
#28A12B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#28A12B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A12B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A12B#FFFFFF#000000##000000
##28A12B1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49116
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a12b;
/* rgb */ color: rgb(40, 161, 43);
/* oklch */ color: oklch(62.1% 0.187 143.2);
Tailwind
colors: {
  custom: {
    50: '#76be6c',
    500: '#28a12b',
    950: '#000000',
  },
}
SCSS
$custom: #28a12b;
$custom-light: #76be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a12b",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 121.488,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.18693,
    "h": 143.2
  },
  "luminance": 0.26115
}

Semantic roles & 50–950 ramp

primary
#28A12B
secondary
#C065BE
accent
#44DFE3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A12B

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

Preview Lab → · Contrast checker → · Palette generator →

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