#28BA28#28BA28

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

Color values

HEX#28BA28
RGBrgb(40, 186, 40)
HSLhsl(120, 65%, 44%)
HSVhsv(120, 78%, 73%)
CMYKcmyk(78.5%, 0%, 78.5%, 27.1%)
CIE-LABlab(66.31, -63.36, 58.45)
CIE-LCHlch(66.31, 86.20, 137.31°)
OKLaboklab(68.88% -0.172 0.1306)
OKLCHoklch(68.88% 0.216 142.8)
XYZxyz(18.8158, 35.7199, 7.9101)
Luminance0.3572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28BA28 #BA28BA
analogous
#71BA28 #28BA28 #28BA71
triadic
#28BA28 #2828BA #BA2828
tetradic
#28BA28 #2871BA #BA28BA #BA7128
square
#28BA28 #2871BA #BA28BA #BA7128
split-complementary
#28BA28 #7128BA #BA2871
monochromatic
#125512 #1D881D #28BA28 #48D848 #7AE27A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28BA28#FFFFFF#000000##000000
##28BA281.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)
#AE9D39
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #28ba28;
/* rgb */ color: rgb(40, 186, 40);
/* oklch */ color: oklch(68.9% 0.216 142.8);
Tailwind
colors: {
  custom: {
    50: '#7cd06e',
    500: '#28ba28',
    950: '#000000',
  },
}
SCSS
$custom: #28ba28;
$custom-light: #7cd06e;
$custom-dark: #000000;
JSON
{
  "hex": "#28ba28",
  "rgb": {
    "r": 40,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.21596,
    "h": 142.8
  },
  "luminance": 0.35722
}

Semantic roles & 50–950 ramp

primary
#28BA28
secondary
#CA73CA
accent
#40E8E8
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #28BA28

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

Preview Lab → · Contrast checker → · Palette generator →

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