#28A826#28A826

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

Color values

HEX#28A826
RGBrgb(40, 168, 38)
HSLhsl(119, 63%, 40%)
HSVhsv(119, 77%, 66%)
CMYKcmyk(76.2%, 0%, 77.4%, 34.1%)
CIE-LABlab(60.42, -57.85, 53.40)
CIE-LCHlch(60.42, 78.73, 137.29°)
OKLaboklab(63.99% -0.1571 0.1198)
OKLCHoklch(63.99% 0.198 142.7)
XYZxyz(15.2266, 28.5946, 6.5502)
Luminance0.2860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A826 #A626A8
analogous
#69A826 #28A826 #26A865
triadic
#28A826 #2628A8 #A82628
tetradic
#28A826 #2669A8 #A626A8 #A86526
square
#28A826 #2669A8 #A626A8 #A86526
split-complementary
#28A826 #6526A8 #A82669
monochromatic
#10440F #1C761B #28A826 #3BD239 #6DDE6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A826#FFFFFF#000000##000000
##28A8261.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)
#AC9805
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#00A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a826;
/* rgb */ color: rgb(40, 168, 38);
/* oklch */ color: oklch(64.0% 0.198 142.7);
Tailwind
colors: {
  custom: {
    50: '#78c36a',
    500: '#28a826',
    950: '#000000',
  },
}
SCSS
$custom: #28a826;
$custom-light: #78c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#28a826",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 119.077,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63988,
    "c": 0.19759,
    "h": 142.7
  },
  "luminance": 0.28596
}

Semantic roles & 50–950 ramp

primary
#28A826
secondary
#C266C4
accent
#42E6E4
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #28A826

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

Preview Lab → · Contrast checker → · Palette generator →

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