#28A336#28A336

#28A336 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.182 H 144.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#28A336
RGBrgb(40, 163, 54)
HSLhsl(127, 61%, 40%)
HSVhsv(127, 75%, 64%)
CMYKcmyk(75.5%, 0%, 66.9%, 36.1%)
CIE-LABlab(58.89, -54.80, 45.66)
CIE-LCHlch(58.89, 71.33, 140.20°)
OKLaboklab(62.75% -0.1481 0.1056)
OKLCHoklch(62.75% 0.182 144.5)
XYZxyz(14.6371, 26.9102, 7.9121)
Luminance0.2691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A336 #A32895
analogous
#58A328 #28A336 #28A373
triadic
#28A336 #3628A3 #A33628
tetradic
#28A336 #2858A3 #A32895 #A37328
square
#28A336 #2858A3 #A32895 #A37328
split-complementary
#28A336 #7328A3 #A32858
monochromatic
#104115 #1C7226 #28A336 #3ACF4B #6BDB78

Accessibility & contrast

On white

3.29
#28A336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#28A336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A336
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A336#FFFFFF#000000##000000
##28A3361.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69428
Deuteranopia (green-blind)
#988A40
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a336;
/* rgb */ color: rgb(40, 163, 54);
/* oklch */ color: oklch(62.8% 0.182 144.5);
Tailwind
colors: {
  custom: {
    50: '#76bf72',
    500: '#28a336',
    950: '#000000',
  },
}
SCSS
$custom: #28a336;
$custom-light: #76bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#28a336",
  "rgb": {
    "r": 40,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 126.829,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62753,
    "c": 0.18192,
    "h": 144.5
  },
  "luminance": 0.26912
}

Semantic roles & 50–950 ramp

primary
#28A336
secondary
#C166B7
accent
#44D2E4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A336

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

Preview Lab → · Contrast checker → · Palette generator →

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