#28A82C#28A82C

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

Color values

HEX#28A82C
RGBrgb(40, 168, 44)
HSLhsl(122, 62%, 41%)
HSVhsv(122, 76%, 66%)
CMYKcmyk(76.2%, 0%, 73.8%, 34.1%)
CIE-LABlab(60.46, -57.39, 51.32)
CIE-LCHlch(60.46, 76.99, 138.20°)
OKLaboklab(64.03% -0.1556 0.1163)
OKLCHoklch(64.03% 0.194 143.2)
XYZxyz(15.3314, 28.6364, 7.1018)
Luminance0.2864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A82C #A828A4
analogous
#64A828 #28A82C #28A86C
triadic
#28A82C #2C28A8 #A82C28
tetradic
#28A82C #2864A8 #A828A4 #A86C28
square
#28A82C #2864A8 #A828A4 #A86C28
split-complementary
#28A82C #6C28A8 #A82864
monochromatic
#104512 #1C771F #28A82C #3DD141 #6EDC71

Accessibility & contrast

On white

3.12
#28A82C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#28A82C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A82C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A82C#FFFFFF#000000##000000
##28A82C1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9815
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a82c;
/* rgb */ color: rgb(40, 168, 44);
/* oklch */ color: oklch(64.0% 0.194 143.2);
Tailwind
colors: {
  custom: {
    50: '#78c36d',
    500: '#28a82c',
    950: '#000000',
  },
}
SCSS
$custom: #28a82c;
$custom-light: #78c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a82c",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 121.875,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64031,
    "c": 0.19425,
    "h": 143.2
  },
  "luminance": 0.28638
}

Semantic roles & 50–950 ramp

primary
#28A82C
secondary
#C369C0
accent
#43E0E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #28A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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