#28BA54#28BA54

#28BA54 is a light, vivid green. Relative luminance 0.362; OKLCH L 69.3% C 0.186 H 148.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#28BA54
RGBrgb(40, 186, 84)
HSLhsl(138, 65%, 44%)
HSVhsv(138, 78%, 73%)
CMYKcmyk(78.5%, 0%, 54.8%, 27.1%)
CIE-LABlab(66.68, -58.81, 40.84)
CIE-LCHlch(66.68, 71.60, 145.22°)
OKLaboklab(69.31% -0.158 0.0978)
OKLCHoklch(69.31% 0.186 148.2)
XYZxyz(20.0326, 36.2066, 14.3186)
Luminance0.3621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28BA54 #BA288E
analogous
#45BA28 #28BA54 #28BA9D
triadic
#28BA54 #5428BA #BA5428
tetradic
#28BA54 #2845BA #BA288E #BA9D28
square
#28BA54 #2845BA #BA288E #BA9D28
split-complementary
#28BA54 #9D28BA #BA2845
monochromatic
#125527 #1D883D #28BA54 #48D873 #7AE299

Accessibility & contrast

On white

2.55
#28BA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#28BA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28BA54
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28BA54#FFFFFF#000000##000000
##28BA541.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94B
Deuteranopia (green-blind)
#AC9E5C
Tritanopia (blue-blind)
#00B6A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #28ba54;
/* rgb */ color: rgb(40, 186, 84);
/* oklch */ color: oklch(69.3% 0.186 148.2);
Tailwind
colors: {
  custom: {
    50: '#7ad087',
    500: '#28ba54',
    950: '#000000',
  },
}
SCSS
$custom: #28ba54;
$custom-light: #7ad087;
$custom-dark: #000000;
JSON
{
  "hex": "#28ba54",
  "rgb": {
    "r": 40,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 138.082,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69312,
    "c": 0.18585,
    "h": 148.2
  },
  "luminance": 0.36209
}

Semantic roles & 50–950 ramp

primary
#28BA54
secondary
#CA73B0
accent
#40B5E8
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #28BA54

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

Preview Lab → · Contrast checker → · Palette generator →

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