#28B040#28B040

#28B040 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.4% C 0.190 H 145.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#28B040
RGBrgb(40, 176, 64)
HSLhsl(131, 63%, 42%)
HSVhsv(131, 77%, 69%)
CMYKcmyk(77.3%, 0%, 63.6%, 31%)
CIE-LABlab(63.24, -58.04, 46.11)
CIE-LCHlch(63.24, 74.13, 141.53°)
OKLaboklab(66.39% -0.1565 0.1076)
OKLCHoklch(66.39% 0.19 145.5)
XYZxyz(17.3246, 31.8699, 10.0879)
Luminance0.3187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B040 #B02898
analogous
#54B028 #28B040 #28B084
triadic
#28B040 #4028B0 #B04028
tetradic
#28B040 #2854B0 #B02898 #B08428
square
#28B040 #2854B0 #B02898 #B08428
split-complementary
#28B040 #8428B0 #B02854
monochromatic
#114C1C #1D7E2E #28B040 #41D45B #73DF86

Accessibility & contrast

On white

2.85
#28B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#28B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B040
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B040#FFFFFF#000000##000000
##28B0401.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F33
Deuteranopia (green-blind)
#A4954A
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28b040;
/* rgb */ color: rgb(40, 176, 64);
/* oklch */ color: oklch(66.4% 0.190 145.5);
Tailwind
colors: {
  custom: {
    50: '#79c979',
    500: '#28b040',
    950: '#000000',
  },
}
SCSS
$custom: #28b040;
$custom-light: #79c979;
$custom-dark: #000000;
JSON
{
  "hex": "#28b040",
  "rgb": {
    "r": 40,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 130.588,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66388,
    "c": 0.18993,
    "h": 145.5
  },
  "luminance": 0.31872
}

Semantic roles & 50–950 ramp

primary
#28B040
secondary
#C66DB7
accent
#42C9E6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28B040

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

Preview Lab → · Contrast checker → · Palette generator →

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