#28AF3F#28AF3F

#28AF3F is a light, vivid green. Relative luminance 0.315; OKLCH L 66.1% C 0.190 H 145.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#28AF3F
RGBrgb(40, 175, 63)
HSLhsl(130, 63%, 42%)
HSVhsv(130, 77%, 69%)
CMYKcmyk(77.1%, 0%, 64%, 31.4%)
CIE-LABlab(62.90, -57.82, 46.18)
CIE-LCHlch(62.90, 74.00, 141.39°)
OKLaboklab(66.11% -0.1559 0.1077)
OKLCHoklch(66.11% 0.19 145.4)
XYZxyz(17.1010, 31.4679, 9.8743)
Luminance0.3147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF3F #AF2898
analogous
#55AF28 #28AF3F #28AF83
triadic
#28AF3F #3F28AF #AF3F28
tetradic
#28AF3F #2855AF #AF2898 #AF8328
square
#28AF3F #2855AF #AF2898 #AF8328
split-complementary
#28AF3F #8328AF #AF2855
monochromatic
#114B1B #1D7D2D #28AF3F #41D45A #73DF85

Accessibility & contrast

On white

2.88
#28AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#28AF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF3F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF3F#FFFFFF#000000##000000
##28AF3F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F32
Deuteranopia (green-blind)
#A39449
Tritanopia (blue-blind)
#00AB97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af3f;
/* rgb */ color: rgb(40, 175, 63);
/* oklch */ color: oklch(66.1% 0.190 145.4);
Tailwind
colors: {
  custom: {
    50: '#79c878',
    500: '#28af3f',
    950: '#000000',
  },
}
SCSS
$custom: #28af3f;
$custom-light: #79c878;
$custom-dark: #000000;
JSON
{
  "hex": "#28af3f",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 130.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66107,
    "c": 0.1895,
    "h": 145.4
  },
  "luminance": 0.3147
}

Semantic roles & 50–950 ramp

primary
#28AF3F
secondary
#C66DB7
accent
#42CAE6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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