#28AF3C#28AF3C

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

Color values

HEX#28AF3C
RGBrgb(40, 175, 60)
HSLhsl(129, 63%, 42%)
HSVhsv(129, 77%, 69%)
CMYKcmyk(77.1%, 0%, 65.7%, 31.4%)
CIE-LABlab(62.87, -58.15, 47.46)
CIE-LCHlch(62.87, 75.06, 140.78°)
OKLaboklab(66.07% -0.157 0.1101)
OKLCHoklch(66.07% 0.192 145)
XYZxyz(17.0195, 31.4353, 9.4447)
Luminance0.3144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF3C #AF289B
analogous
#57AF28 #28AF3C #28AF80
triadic
#28AF3C #3C28AF #AF3C28
tetradic
#28AF3C #2857AF #AF289B #AF8028
square
#28AF3C #2857AF #AF289B #AF8028
split-complementary
#28AF3C #8028AF #AF2857
monochromatic
#114B1A #1D7D2B #28AF3C #41D456 #73DF83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AF3C#FFFFFF#000000##000000
##28AF3C1.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)
#B29E2E
Deuteranopia (green-blind)
#A39446
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af3c;
/* rgb */ color: rgb(40, 175, 60);
/* oklch */ color: oklch(66.1% 0.192 145.0);
Tailwind
colors: {
  custom: {
    50: '#79c877',
    500: '#28af3c',
    950: '#000000',
  },
}
SCSS
$custom: #28af3c;
$custom-light: #79c877;
$custom-dark: #000000;
JSON
{
  "hex": "#28af3c",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 128.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66075,
    "c": 0.19171,
    "h": 145
  },
  "luminance": 0.31437
}

Semantic roles & 50–950 ramp

primary
#28AF3C
secondary
#C66DB9
accent
#42CEE6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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