#28A823#28A823

#28A823 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.0% C 0.199 H 142.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#28A823
RGBrgb(40, 168, 35)
HSLhsl(118, 66%, 40%)
HSVhsv(118, 79%, 66%)
CMYKcmyk(76.2%, 0%, 79.2%, 34.1%)
CIE-LABlab(60.41, -58.06, 54.36)
CIE-LCHlch(60.41, 79.53, 136.88°)
OKLaboklab(63.97% -0.1578 0.1214)
OKLCHoklch(63.97% 0.199 142.4)
XYZxyz(15.1802, 28.5760, 6.3055)
Luminance0.2858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A823 #A323A8
analogous
#6BA823 #28A823 #23A860
triadic
#28A823 #2328A8 #A82328
tetradic
#28A823 #236BA8 #A323A8 #A86023
square
#28A823 #236BA8 #A323A8 #A86023
split-complementary
#28A823 #6023A8 #A8236B
monochromatic
#10430E #1C7518 #28A823 #3AD534 #6BDF66

Accessibility & contrast

On white

3.13
#28A823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#28A823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A823
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A823#FFFFFF#000000##000000
##28A8231.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#00A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a823;
/* rgb */ color: rgb(40, 168, 35);
/* oklch */ color: oklch(64.0% 0.199 142.4);
Tailwind
colors: {
  custom: {
    50: '#78c369',
    500: '#28a823',
    950: '#000000',
  },
}
SCSS
$custom: #28a823;
$custom-light: #78c369;
$custom-dark: #000000;
JSON
{
  "hex": "#28a823",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 117.744,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63969,
    "c": 0.1991,
    "h": 142.4
  },
  "luminance": 0.28578
}

Semantic roles & 50–950 ramp

primary
#28A823
secondary
#C162C5
accent
#3FE8E2
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28A823

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

Preview Lab → · Contrast checker → · Palette generator →

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