#28B162#28B162

#28B162 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.162 H 152.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#28B162
RGBrgb(40, 177, 98)
HSLhsl(145, 63%, 43%)
HSVhsv(145, 77%, 69%)
CMYKcmyk(77.4%, 0%, 44.6%, 30.6%)
CIE-LABlab(63.98, -53.41, 30.44)
CIE-LCHlch(63.98, 61.47, 150.32°)
OKLaboklab(67.14% -0.1436 0.075)
OKLCHoklch(67.14% 0.162 152.4)
XYZxyz(18.8001, 32.7750, 16.8883)
Luminance0.3278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B162 #B12877
analogous
#33B128 #28B162 #28B1A6
triadic
#28B162 #6228B1 #B16228
tetradic
#28B162 #2833B1 #B12877 #B1A628
square
#28B162 #2833B1 #B12877 #B1A628
split-complementary
#28B162 #A628B1 #B12833
monochromatic
#114D2B #1D7F46 #28B162 #42D480 #74E0A1

Accessibility & contrast

On white

2.78
#28B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#28B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B162
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B162#FFFFFF#000000##000000
##28B1621.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25C
Deuteranopia (green-blind)
#A19767
Tritanopia (blue-blind)
#00AE9E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #28b162;
/* rgb */ color: rgb(40, 177, 98);
/* oklch */ color: oklch(67.1% 0.162 152.4);
Tailwind
colors: {
  custom: {
    50: '#78c98f',
    500: '#28b162',
    950: '#000000',
  },
}
SCSS
$custom: #28b162;
$custom-light: #78c98f;
$custom-dark: #000000;
JSON
{
  "hex": "#28b162",
  "rgb": {
    "r": 40,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 145.401,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67139,
    "c": 0.16201,
    "h": 152.4
  },
  "luminance": 0.32777
}

Semantic roles & 50–950 ramp

primary
#28B162
secondary
#C76EA1
accent
#42A1E6
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #28B162

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

Preview Lab → · Contrast checker → · Palette generator →

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