#28BA2A#28BA2A

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

Color values

HEX#28BA2A
RGBrgb(40, 186, 42)
HSLhsl(121, 65%, 44%)
HSVhsv(121, 78%, 73%)
CMYKcmyk(78.5%, 0%, 77.4%, 27.1%)
CIE-LABlab(66.32, -63.22, 57.83)
CIE-LCHlch(66.32, 85.68, 137.55°)
OKLaboklab(68.9% -0.1715 0.1296)
OKLCHoklch(68.9% 0.215 142.9)
XYZxyz(18.8507, 35.7338, 8.0939)
Luminance0.3574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28BA2A #BA28B8
analogous
#6FBA28 #28BA2A #28BA73
triadic
#28BA2A #2A28BA #BA2A28
tetradic
#28BA2A #286FBA #BA28B8 #BA7328
square
#28BA2A #286FBA #BA28B8 #BA7328
split-complementary
#28BA2A #7328BA #BA286F
monochromatic
#125513 #1D881F #28BA2A #48D84A #7AE27B

Accessibility & contrast

On white

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

On black

8.15
#28BA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28BA2A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28BA2A#FFFFFF#000000##000000
##28BA2A1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA802
Deuteranopia (green-blind)
#AE9D3B
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #28ba2a;
/* rgb */ color: rgb(40, 186, 42);
/* oklch */ color: oklch(68.9% 0.215 142.9);
Tailwind
colors: {
  custom: {
    50: '#7cd06e',
    500: '#28ba2a',
    950: '#000000',
  },
}
SCSS
$custom: #28ba2a;
$custom-light: #7cd06e;
$custom-dark: #000000;
JSON
{
  "hex": "#28ba2a",
  "rgb": {
    "r": 40,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 120.822,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68896,
    "c": 0.21498,
    "h": 142.9
  },
  "luminance": 0.35736
}

Semantic roles & 50–950 ramp

primary
#28BA2A
secondary
#CA73C9
accent
#40E5E8
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #28BA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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