#28BA21#28BA21

#28BA21 is a light, highly saturated green. Relative luminance 0.357; OKLCH L 68.8% C 0.219 H 142.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#28BA21
RGBrgb(40, 186, 33)
HSLhsl(117, 70%, 43%)
HSVhsv(117, 82%, 73%)
CMYKcmyk(78.5%, 0%, 82.3%, 27.1%)
CIE-LABlab(66.27, -63.78, 60.46)
CIE-LCHlch(66.27, 87.88, 136.53°)
OKLaboklab(68.85% -0.1734 0.1339)
OKLCHoklch(68.85% 0.219 142.3)
XYZxyz(18.7073, 35.6765, 7.3389)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28BA21 #B321BA
analogous
#74BA21 #28BA21 #21BA66
triadic
#28BA21 #2128BA #BA2128
tetradic
#28BA21 #2174BA #B321BA #BA6621
square
#28BA21 #2174BA #B321BA #BA6621
split-complementary
#28BA21 #6621BA #BA2174
monochromatic
#12520F #1D8618 #28BA21 #43DC3C #75E670

Accessibility & contrast

On white

2.58
#28BA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#28BA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28BA21
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28BA21#FFFFFF#000000##000000
##28BA211.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#00B49E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #28ba21;
/* rgb */ color: rgb(40, 186, 33);
/* oklch */ color: oklch(68.8% 0.219 142.3);
Tailwind
colors: {
  custom: {
    50: '#7dd06b',
    500: '#28ba21',
    950: '#000000',
  },
}
SCSS
$custom: #28ba21;
$custom-light: #7dd06b;
$custom-dark: #000000;
JSON
{
  "hex": "#28ba21",
  "rgb": {
    "r": 40,
    "g": 186,
    "b": 33
  },
  "hsl": {
    "h": 117.255,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68845,
    "c": 0.21906,
    "h": 142.3
  },
  "luminance": 0.35679
}

Semantic roles & 50–950 ramp

primary
#28BA21
secondary
#C86BCC
accent
#3BEDE5
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1407
muted
#7D827A

Preview Lab

Preview with #28BA21

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

Preview Lab → · Contrast checker → · Palette generator →

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