#28AF2A#28AF2A

#28AF2A is a light, highly saturated green. Relative luminance 0.313; OKLCH L 65.9% C 0.203 H 143.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#28AF2A
RGBrgb(40, 175, 42)
HSLhsl(121, 63%, 42%)
HSVhsv(121, 77%, 69%)
CMYKcmyk(77.1%, 0%, 76%, 31.4%)
CIE-LABlab(62.74, -59.79, 54.32)
CIE-LCHlch(62.74, 80.78, 137.74°)
OKLaboklab(65.92% -0.1622 0.1223)
OKLCHoklch(65.92% 0.203 143)
XYZxyz(16.6219, 31.2763, 7.3509)
Luminance0.3128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF2A #AF28AD
analogous
#6AAF28 #28AF2A #28AF6E
triadic
#28AF2A #2A28AF #AF2A28
tetradic
#28AF2A #286AAF #AF28AD #AF6E28
square
#28AF2A #286AAF #AF28AD #AF6E28
split-complementary
#28AF2A #6E28AF #AF286A
monochromatic
#114B12 #1D7D1E #28AF2A #41D443 #73DF74

Accessibility & contrast

On white

2.89
#28AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#28AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF2A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF2A#FFFFFF#000000##000000
##28AF2A1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0C
Deuteranopia (green-blind)
#A49439
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af2a;
/* rgb */ color: rgb(40, 175, 42);
/* oklch */ color: oklch(65.9% 0.203 143.0);
Tailwind
colors: {
  custom: {
    50: '#7ac86d',
    500: '#28af2a',
    950: '#000000',
  },
}
SCSS
$custom: #28af2a;
$custom-light: #7ac86d;
$custom-dark: #000000;
JSON
{
  "hex": "#28af2a",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 120.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65922,
    "c": 0.20313,
    "h": 143
  },
  "luminance": 0.31278
}

Semantic roles & 50–950 ramp

primary
#28AF2A
secondary
#C66DC5
accent
#42E3E6
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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