#28AF30#28AF30

#28AF30 is a light, vivid green. Relative luminance 0.313; OKLCH L 66.0% C 0.200 H 143.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#28AF30
RGBrgb(40, 175, 48)
HSLhsl(124, 63%, 42%)
HSVhsv(124, 77%, 69%)
CMYKcmyk(77.1%, 0%, 72.6%, 31.4%)
CIE-LABlab(62.78, -59.31, 52.20)
CIE-LCHlch(62.78, 79.01, 138.65°)
OKLaboklab(65.97% -0.1606 0.1187)
OKLCHoklch(65.97% 0.2 143.5)
XYZxyz(16.7375, 31.3225, 7.9595)
Luminance0.3132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF30 #AF28A7
analogous
#63AF28 #28AF30 #28AF74
triadic
#28AF30 #3028AF #AF3028
tetradic
#28AF30 #2863AF #AF28A7 #AF7428
square
#28AF30 #2863AF #AF28A7 #AF7428
split-complementary
#28AF30 #7428AF #AF2863
monochromatic
#114B15 #1D7D22 #28AF30 #41D449 #73DF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28AF30#FFFFFF#000000##000000
##28AF301.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)
#B39E1A
Deuteranopia (green-blind)
#A4943D
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af30;
/* rgb */ color: rgb(40, 175, 48);
/* oklch */ color: oklch(66.0% 0.200 143.5);
Tailwind
colors: {
  custom: {
    50: '#79c870',
    500: '#28af30',
    950: '#000000',
  },
}
SCSS
$custom: #28af30;
$custom-light: #79c870;
$custom-dark: #000000;
JSON
{
  "hex": "#28af30",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 123.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65967,
    "c": 0.1997,
    "h": 143.5
  },
  "luminance": 0.31324
}

Semantic roles & 50–950 ramp

primary
#28AF30
secondary
#C66DC1
accent
#42DCE6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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