#28A645#28A645

#28A645 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.7% C 0.174 H 146.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#28A645
RGBrgb(40, 166, 69)
HSLhsl(134, 61%, 40%)
HSVhsv(134, 76%, 65%)
CMYKcmyk(75.9%, 0%, 58.4%, 34.9%)
CIE-LABlab(60.03, -54.03, 40.12)
CIE-LCHlch(60.03, 67.30, 143.40°)
OKLaboklab(63.74% -0.1455 0.0952)
OKLCHoklch(63.74% 0.174 146.8)
XYZxyz(15.5843, 28.1514, 10.2415)
Luminance0.2815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A645 #A62889
analogous
#4AA628 #28A645 #28A684
triadic
#28A645 #4528A6 #A64528
tetradic
#28A645 #284AA6 #A62889 #A68428
square
#28A645 #284AA6 #A62889 #A68428
split-complementary
#28A645 #8428A6 #A6284A
monochromatic
#10431C #1C7531 #28A645 #3BD05E #6DDC86

Accessibility & contrast

On white

3.17
#28A645 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#28A645 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A645
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A645#FFFFFF#000000##000000
##28A6451.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8973B
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#00A291
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #28a645;
/* rgb */ color: rgb(40, 166, 69);
/* oklch */ color: oklch(63.7% 0.174 146.8);
Tailwind
colors: {
  custom: {
    50: '#76c27c',
    500: '#28a645',
    950: '#000000',
  },
}
SCSS
$custom: #28a645;
$custom-light: #76c27c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a645",
  "rgb": {
    "r": 40,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 133.81,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63742,
    "c": 0.17384,
    "h": 146.8
  },
  "luminance": 0.28153
}

Semantic roles & 50–950 ramp

primary
#28A645
secondary
#C267AD
accent
#44BFE4
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #28A645

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

Preview Lab → · Contrast checker → · Palette generator →

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