#28AF45#28AF45

#28AF45 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.185 H 146.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#28AF45
RGBrgb(40, 175, 69)
HSLhsl(133, 63%, 42%)
HSVhsv(133, 77%, 69%)
CMYKcmyk(77.1%, 0%, 60.6%, 31.4%)
CIE-LABlab(62.96, -57.10, 43.54)
CIE-LCHlch(62.96, 71.81, 142.68°)
OKLaboklab(66.18% -0.1538 0.1026)
OKLCHoklch(66.18% 0.185 146.3)
XYZxyz(17.2779, 31.5387, 10.8060)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF45 #AF2892
analogous
#4EAF28 #28AF45 #28AF89
triadic
#28AF45 #4528AF #AF4528
tetradic
#28AF45 #284EAF #AF2892 #AF8928
square
#28AF45 #284EAF #AF2892 #AF8928
split-complementary
#28AF45 #8928AF #AF284E
monochromatic
#114B1E #1D7D31 #28AF45 #41D460 #73DF8A

Accessibility & contrast

On white

2.87
#28AF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#28AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF45
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF45#FFFFFF#000000##000000
##28AF451.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3A
Deuteranopia (green-blind)
#A2944E
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af45;
/* rgb */ color: rgb(40, 175, 69);
/* oklch */ color: oklch(66.2% 0.185 146.3);
Tailwind
colors: {
  custom: {
    50: '#78c87c',
    500: '#28af45',
    950: '#000000',
  },
}
SCSS
$custom: #28af45;
$custom-light: #78c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#28af45",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 132.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66175,
    "c": 0.18485,
    "h": 146.3
  },
  "luminance": 0.31541
}

Semantic roles & 50–950 ramp

primary
#28AF45
secondary
#C66DB3
accent
#42C3E6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #28AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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