#28B940#28B940

#28B940 is a light, highly saturated green. Relative luminance 0.355; OKLCH L 68.8% C 0.200 H 145.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#28B940
RGBrgb(40, 185, 64)
HSLhsl(130, 64%, 44%)
HSVhsv(130, 78%, 73%)
CMYKcmyk(78.4%, 0%, 65.4%, 27.5%)
CIE-LABlab(66.15, -60.98, 49.35)
CIE-LCHlch(66.15, 78.45, 141.01°)
OKLaboklab(68.81% -0.1645 0.1145)
OKLCHoklch(68.81% 0.2 145.2)
XYZxyz(19.1481, 35.5169, 10.6958)
Luminance0.3552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B940 #B928A1
analogous
#59B928 #28B940 #28B989
triadic
#28B940 #4028B9 #B94028
tetradic
#28B940 #2859B9 #B928A1 #B98928
square
#28B940 #2859B9 #B928A1 #B98928
split-complementary
#28B940 #8928B9 #B92859
monochromatic
#12541D #1D872F #28B940 #47D75F #79E28B

Accessibility & contrast

On white

2.59
#28B940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#28B940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B940
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B940#FFFFFF#000000##000000
##28B9401.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA731
Deuteranopia (green-blind)
#AC9C4B
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #28b940;
/* rgb */ color: rgb(40, 185, 64);
/* oklch */ color: oklch(68.8% 0.200 145.2);
Tailwind
colors: {
  custom: {
    50: '#7bcf7a',
    500: '#28b940',
    950: '#000000',
  },
}
SCSS
$custom: #28b940;
$custom-light: #7bcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#28b940",
  "rgb": {
    "r": 40,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 129.931,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68807,
    "c": 0.20042,
    "h": 145.2
  },
  "luminance": 0.35519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28B940

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

Preview Lab → · Contrast checker → · Palette generator →

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