#28A852#28A852

#28A852 is a light, vivid green. Relative luminance 0.291; OKLCH L 64.5% C 0.165 H 149.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#28A852
RGBrgb(40, 168, 82)
HSLhsl(140, 62%, 41%)
HSVhsv(140, 76%, 66%)
CMYKcmyk(76.2%, 0%, 51.2%, 34.1%)
CIE-LABlab(60.84, -52.84, 34.69)
CIE-LCHlch(60.84, 63.21, 146.71°)
OKLaboklab(64.47% -0.142 0.084)
OKLCHoklch(64.47% 0.165 149.4)
XYZxyz(16.3994, 29.0636, 12.7266)
Luminance0.2907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A852 #A8287E
analogous
#3EA828 #28A852 #28A892
triadic
#28A852 #5228A8 #A85228
tetradic
#28A852 #283EA8 #A8287E #A89228
square
#28A852 #283EA8 #A8287E #A89228
split-complementary
#28A852 #9228A8 #A8283E
monochromatic
#104522 #1C773A #28A852 #3DD16D #6EDC92

Accessibility & contrast

On white

3.08
#28A852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#28A852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A852
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A852#FFFFFF#000000##000000
##28A8521.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994B
Deuteranopia (green-blind)
#9B8F58
Tritanopia (blue-blind)
#00A594
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #28a852;
/* rgb */ color: rgb(40, 168, 82);
/* oklch */ color: oklch(64.5% 0.165 149.4);
Tailwind
colors: {
  custom: {
    50: '#76c384',
    500: '#28a852',
    950: '#000000',
  },
}
SCSS
$custom: #28a852;
$custom-light: #76c384;
$custom-dark: #000000;
JSON
{
  "hex": "#28a852",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 139.688,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64466,
    "c": 0.16502,
    "h": 149.4
  },
  "luminance": 0.29066
}

Semantic roles & 50–950 ramp

primary
#28A852
secondary
#C369A5
accent
#43B0E5
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28A852

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

Preview Lab → · Contrast checker → · Palette generator →

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