#28C631#28C631

#28C631 is a light, highly saturated green. Relative luminance 0.411; OKLCH L 72.2% C 0.224 H 143.4°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#28C631
RGBrgb(40, 198, 49)
HSLhsl(123, 66%, 47%)
HSVhsv(123, 80%, 78%)
CMYKcmyk(79.8%, 0%, 75.3%, 22.4%)
CIE-LABlab(70.22, -66.40, 59.35)
CIE-LCHlch(70.22, 89.06, 138.21°)
OKLaboklab(72.15% -0.1798 0.1337)
OKLCHoklch(72.15% 0.224 143.4)
XYZxyz(21.6221, 41.0584, 9.6906)
Luminance0.4106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C631 #C628BD
analogous
#6EC628 #28C631 #28C680
triadic
#28C631 #3128C6 #C63128
tetradic
#28C631 #286EC6 #C628BD #C68028
square
#28C631 #286EC6 #C628BD #C68028
split-complementary
#28C631 #8028C6 #C6286E
monochromatic
#136018 #1E9324 #28C631 #50DC58 #83E688

Accessibility & contrast

On white

2.28
#28C631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#28C631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C631
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C631#FFFFFF#000000##000000
##28C6311.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB310
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#00C0AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #28c631;
/* rgb */ color: rgb(40, 198, 49);
/* oklch */ color: oklch(72.2% 0.224 143.4);
Tailwind
colors: {
  custom: {
    50: '#7fd973',
    500: '#28c631',
    950: '#000000',
  },
}
SCSS
$custom: #28c631;
$custom-light: #7fd973;
$custom-dark: #000000;
JSON
{
  "hex": "#28c631",
  "rgb": {
    "r": 40,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 123.418,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72153,
    "c": 0.2241,
    "h": 143.4
  },
  "luminance": 0.41061
}

Semantic roles & 50–950 ramp

primary
#28C631
secondary
#CF7BCA
accent
#3EE0E9
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #28C631

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

Preview Lab → · Contrast checker → · Palette generator →

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