#28A017#28A017

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

Color values

HEX#28A017
RGBrgb(40, 160, 23)
HSLhsl(113, 75%, 36%)
HSVhsv(113, 86%, 63%)
CMYKcmyk(75%, 0%, 85.6%, 37.3%)
CIE-LABlab(57.71, -56.18, 55.24)
CIE-LCHlch(57.71, 78.79, 135.48°)
OKLaboklab(61.71% -0.1532 0.1216)
OKLCHoklch(61.71% 0.196 141.6)
XYZxyz(13.5998, 25.6530, 5.0452)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A017 #8F17A0
analogous
#6CA017 #28A017 #17A04A
triadic
#28A017 #1728A0 #A01728
tetradic
#28A017 #176CA0 #8F17A0 #A04A17
square
#28A017 #176CA0 #8F17A0 #A04A17
split-complementary
#28A017 #4A17A0 #A0176C
monochromatic
#0D3508 #1B6A0F #28A017 #35D61F #5FE54C

Accessibility & contrast

On white

3.43
#28A017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#28A017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A017
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A017#FFFFFF#000000##000000
##28A0171.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a017;
/* rgb */ color: rgb(40, 160, 23);
/* oklch */ color: oklch(61.7% 0.196 141.6);
Tailwind
colors: {
  custom: {
    50: '#77bd63',
    500: '#28a017',
    950: '#000000',
  },
}
SCSS
$custom: #28a017;
$custom-light: #77bd63;
$custom-dark: #000000;
JSON
{
  "hex": "#28a017",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 112.555,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.19564,
    "h": 141.6
  },
  "luminance": 0.25655
}

Semantic roles & 50–950 ramp

primary
#28A017
secondary
#B84CC7
accent
#36F1DA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #28A017

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

Preview Lab → · Contrast checker → · Palette generator →

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