#28A82F#28A82F

#28A82F is a light, vivid green. Relative luminance 0.287; OKLCH L 64.1% C 0.192 H 143.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#28A82F
RGBrgb(40, 168, 47)
HSLhsl(123, 62%, 41%)
HSVhsv(123, 76%, 66%)
CMYKcmyk(76.2%, 0%, 72%, 34.1%)
CIE-LABlab(60.48, -57.13, 50.21)
CIE-LCHlch(60.48, 76.06, 138.69°)
OKLaboklab(64.05% -0.1548 0.1144)
OKLCHoklch(64.05% 0.192 143.5)
XYZxyz(15.3898, 28.6598, 7.4096)
Luminance0.2866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A82F #A828A1
analogous
#61A828 #28A82F #28A86F
triadic
#28A82F #2F28A8 #A82F28
tetradic
#28A82F #2861A8 #A828A1 #A86F28
square
#28A82F #2861A8 #A828A1 #A86F28
split-complementary
#28A82F #6F28A8 #A82861
monochromatic
#104513 #1C7721 #28A82F #3DD145 #6EDC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A82F#FFFFFF#000000##000000
##28A82F1.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)
#AB981B
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a82f;
/* rgb */ color: rgb(40, 168, 47);
/* oklch */ color: oklch(64.1% 0.192 143.5);
Tailwind
colors: {
  custom: {
    50: '#78c36f',
    500: '#28a82f',
    950: '#000000',
  },
}
SCSS
$custom: #28a82f;
$custom-light: #78c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#28a82f",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 123.281,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64054,
    "c": 0.19243,
    "h": 143.5
  },
  "luminance": 0.28662
}

Semantic roles & 50–950 ramp

primary
#28A82F
secondary
#C369BE
accent
#43DCE5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #28A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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