#28AF28#28AF28

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

Color values

HEX#28AF28
RGBrgb(40, 175, 40)
HSLhsl(120, 63%, 42%)
HSVhsv(120, 77%, 69%)
CMYKcmyk(77.1%, 0%, 77.1%, 31.4%)
CIE-LABlab(62.73, -59.93, 54.99)
CIE-LCHlch(62.73, 81.34, 137.47°)
OKLaboklab(65.91% -0.1627 0.1234)
OKLCHoklch(65.91% 0.204 142.8)
XYZxyz(16.5870, 31.2623, 7.1671)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF28 #AF28AF
analogous
#6CAF28 #28AF28 #28AF6C
triadic
#28AF28 #2828AF #AF2828
tetradic
#28AF28 #286CAF #AF28AF #AF6C28
square
#28AF28 #286CAF #AF28AF #AF6C28
split-complementary
#28AF28 #6C28AF #AF286C
monochromatic
#114B11 #1D7D1D #28AF28 #41D441 #73DF73

Accessibility & contrast

On white

2.90
#28AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#28AF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF28
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF28#FFFFFF#000000##000000
##28AF281.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28af28;
/* rgb */ color: rgb(40, 175, 40);
/* oklch */ color: oklch(65.9% 0.204 142.8);
Tailwind
colors: {
  custom: {
    50: '#7ac86c',
    500: '#28af28',
    950: '#000000',
  },
}
SCSS
$custom: #28af28;
$custom-light: #7ac86c;
$custom-dark: #000000;
JSON
{
  "hex": "#28af28",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65909,
    "c": 0.20419,
    "h": 142.8
  },
  "luminance": 0.31264
}

Semantic roles & 50–950 ramp

primary
#28AF28
secondary
#C66DC6
accent
#42E6E6
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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