#28B158#28B158

#28B158 is a light, vivid green. Relative luminance 0.326; OKLCH L 67.0% C 0.171 H 149.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#28B158
RGBrgb(40, 177, 88)
HSLhsl(141, 63%, 43%)
HSVhsv(141, 77%, 69%)
CMYKcmyk(77.4%, 0%, 50.3%, 30.6%)
CIE-LABlab(63.83, -55.09, 35.38)
CIE-LCHlch(63.83, 65.48, 147.29°)
OKLaboklab(66.97% -0.148 0.0859)
OKLCHoklch(66.97% 0.171 149.9)
XYZxyz(18.3571, 32.5978, 14.5552)
Luminance0.3260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B158 #B12881
analogous
#3CB128 #28B158 #28B19D
triadic
#28B158 #5828B1 #B15828
tetradic
#28B158 #283CB1 #B12881 #B19D28
square
#28B158 #283CB1 #B12881 #B19D28
split-complementary
#28B158 #9D28B1 #B1283C
monochromatic
#114D26 #1D7F3F #28B158 #42D475 #74E09A

Accessibility & contrast

On white

2.79
#28B158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#28B158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B158
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B158#FFFFFF#000000##000000
##28B1581.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A151
Deuteranopia (green-blind)
#A3965E
Tritanopia (blue-blind)
#00AE9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #28b158;
/* rgb */ color: rgb(40, 177, 88);
/* oklch */ color: oklch(67.0% 0.171 149.9);
Tailwind
colors: {
  custom: {
    50: '#78c989',
    500: '#28b158',
    950: '#000000',
  },
}
SCSS
$custom: #28b158;
$custom-light: #78c989;
$custom-dark: #000000;
JSON
{
  "hex": "#28b158",
  "rgb": {
    "r": 40,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 141.022,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66973,
    "c": 0.17112,
    "h": 149.9
  },
  "luminance": 0.326
}

Semantic roles & 50–950 ramp

primary
#28B158
secondary
#C76EA8
accent
#42ADE6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28B158

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

Preview Lab → · Contrast checker → · Palette generator →

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