#28BA40#28BA40

#28BA40 is a light, highly saturated green. Relative luminance 0.359; OKLCH L 69.1% C 0.202 H 145.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#28BA40
RGBrgb(40, 186, 64)
HSLhsl(130, 65%, 44%)
HSVhsv(130, 78%, 73%)
CMYKcmyk(78.5%, 0%, 65.6%, 27.1%)
CIE-LABlab(66.47, -61.30, 49.71)
CIE-LCHlch(66.47, 78.92, 140.96°)
OKLaboklab(69.08% -0.1654 0.1153)
OKLCHoklch(69.08% 0.202 145.1)
XYZxyz(19.3580, 35.9368, 10.7658)
Luminance0.3594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28BA40 #BA28A2
analogous
#59BA28 #28BA40 #28BA89
triadic
#28BA40 #4028BA #BA4028
tetradic
#28BA40 #2859BA #BA28A2 #BA8928
square
#28BA40 #2859BA #BA28A2 #BA8928
split-complementary
#28BA40 #8928BA #BA2859
monochromatic
#12551D #1D882F #28BA40 #48D85F #7AE28B

Accessibility & contrast

On white

2.56
#28BA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#28BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28BA40
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28BA40#FFFFFF#000000##000000
##28BA401.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#AD9D4B
Tritanopia (blue-blind)
#00B5A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #28ba40;
/* rgb */ color: rgb(40, 186, 64);
/* oklch */ color: oklch(69.1% 0.202 145.1);
Tailwind
colors: {
  custom: {
    50: '#7bd07a',
    500: '#28ba40',
    950: '#000000',
  },
}
SCSS
$custom: #28ba40;
$custom-light: #7bd07a;
$custom-dark: #000000;
JSON
{
  "hex": "#28ba40",
  "rgb": {
    "r": 40,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 129.863,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69075,
    "c": 0.20157,
    "h": 145.1
  },
  "luminance": 0.35939
}

Semantic roles & 50–950 ramp

primary
#28BA40
secondary
#CA73BC
accent
#40CCE8
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #28BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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