#28B142#28B142

#28B142 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.7% C 0.190 H 145.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#28B142
RGBrgb(40, 177, 66)
HSLhsl(131, 63%, 43%)
HSVhsv(131, 77%, 69%)
CMYKcmyk(77.4%, 0%, 62.7%, 30.6%)
CIE-LABlab(63.58, -58.14, 45.61)
CIE-LCHlch(63.58, 73.89, 141.88°)
OKLaboklab(66.68% -0.1567 0.1068)
OKLCHoklch(66.68% 0.19 145.7)
XYZxyz(17.5793, 32.2867, 10.4587)
Luminance0.3229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B142 #B12897
analogous
#52B128 #28B142 #28B187
triadic
#28B142 #4228B1 #B14228
tetradic
#28B142 #2852B1 #B12897 #B18728
square
#28B142 #2852B1 #B12897 #B18728
split-complementary
#28B142 #8728B1 #B12852
monochromatic
#114D1D #1D7F2F #28B142 #42D45E #74E088

Accessibility & contrast

On white

2.82
#28B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#28B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B142
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B142#FFFFFF#000000##000000
##28B1421.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A035
Deuteranopia (green-blind)
#A5964C
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #28b142;
/* rgb */ color: rgb(40, 177, 66);
/* oklch */ color: oklch(66.7% 0.190 145.7);
Tailwind
colors: {
  custom: {
    50: '#79ca7a',
    500: '#28b142',
    950: '#000000',
  },
}
SCSS
$custom: #28b142;
$custom-light: #79ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#28b142",
  "rgb": {
    "r": 40,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 131.387,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66679,
    "c": 0.18959,
    "h": 145.7
  },
  "luminance": 0.32289
}

Semantic roles & 50–950 ramp

primary
#28B142
secondary
#C76EB6
accent
#42C7E6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28B142

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

Preview Lab → · Contrast checker → · Palette generator →

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