#28A247#28A247

#28A247 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.167 H 147.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#28A247
RGBrgb(40, 162, 71)
HSLhsl(135, 60%, 40%)
HSVhsv(135, 75%, 64%)
CMYKcmyk(75.3%, 0%, 56.2%, 36.5%)
CIE-LABlab(58.74, -52.35, 37.62)
CIE-LCHlch(58.74, 64.47, 144.30°)
OKLaboklab(62.68% -0.1409 0.0899)
OKLCHoklch(62.68% 0.167 147.5)
XYZxyz(14.9316, 26.7450, 10.3354)
Luminance0.2675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A247 #A22883
analogous
#46A228 #28A247 #28A284
triadic
#28A247 #4728A2 #A24728
tetradic
#28A247 #2846A2 #A22883 #A28428
square
#28A247 #2846A2 #A22883 #A28428
split-complementary
#28A247 #8428A2 #A22846
monochromatic
#10401C #1C7131 #28A247 #39CE5F #6ADA87

Accessibility & contrast

On white

3.31
#28A247 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#28A247 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A247
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A247#FFFFFF#000000##000000
##28A2471.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933E
Deuteranopia (green-blind)
#96894E
Tritanopia (blue-blind)
#009E8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a247;
/* rgb */ color: rgb(40, 162, 71);
/* oklch */ color: oklch(62.7% 0.167 147.5);
Tailwind
colors: {
  custom: {
    50: '#75bf7d',
    500: '#28a247',
    950: '#000000',
  },
}
SCSS
$custom: #28a247;
$custom-light: #75bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a247",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 71
  },
  "hsl": {
    "h": 135.246,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62682,
    "c": 0.16711,
    "h": 147.5
  },
  "luminance": 0.26747
}

Semantic roles & 50–950 ramp

primary
#28A247
secondary
#C165A9
accent
#44BBE4
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #28A247

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

Preview Lab → · Contrast checker → · Palette generator →

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