#28A118#28A118

#28A118 is a mid, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.196 H 141.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#28A118
RGBrgb(40, 161, 24)
HSLhsl(113, 74%, 36%)
HSVhsv(113, 85%, 63%)
CMYKcmyk(75.2%, 0%, 85.1%, 36.9%)
CIE-LABlab(58.04, -56.45, 55.30)
CIE-LCHlch(58.04, 79.02, 135.59°)
OKLaboklab(61.99% -0.1539 0.1219)
OKLCHoklch(61.99% 0.196 141.6)
XYZxyz(13.7840, 26.0052, 5.1570)
Luminance0.2601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A118 #9118A1
analogous
#6DA118 #28A118 #18A14D
triadic
#28A118 #1828A1 #A11828
tetradic
#28A118 #186DA1 #9118A1 #A14D18
square
#28A118 #186DA1 #9118A1 #A14D18
split-complementary
#28A118 #4D18A1 #A1186D
monochromatic
#0E3608 #1B6C10 #28A118 #35D620 #60E54F

Accessibility & contrast

On white

3.39
#28A118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#28A118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A118
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A118#FFFFFF#000000##000000
##28A1181.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a118;
/* rgb */ color: rgb(40, 161, 24);
/* oklch */ color: oklch(62.0% 0.196 141.6);
Tailwind
colors: {
  custom: {
    50: '#77be63',
    500: '#28a118',
    950: '#000000',
  },
}
SCSS
$custom: #28a118;
$custom-light: #77be63;
$custom-dark: #000000;
JSON
{
  "hex": "#28a118",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 112.993,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.19633,
    "h": 141.6
  },
  "luminance": 0.26007
}

Semantic roles & 50–950 ramp

primary
#28A118
secondary
#B94EC7
accent
#37F1DB
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #28A118

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

Preview Lab → · Contrast checker → · Palette generator →

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