#28A042#28A042

#28A042 is a light, vivid green. Relative luminance 0.260; OKLCH L 62.1% C 0.169 H 146.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#28A042
RGBrgb(40, 160, 66)
HSLhsl(133, 60%, 39%)
HSVhsv(133, 75%, 63%)
CMYKcmyk(75%, 0%, 58.8%, 37.3%)
CIE-LABlab(58.02, -52.34, 39.21)
CIE-LCHlch(58.02, 65.39, 143.16°)
OKLaboklab(62.07% -0.141 0.093)
OKLCHoklch(62.07% 0.169 146.6)
XYZxyz(14.4282, 25.9844, 9.4083)
Luminance0.2599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A042 #A02886
analogous
#4AA028 #28A042 #28A07E
triadic
#28A042 #4228A0 #A04228
tetradic
#28A042 #284AA0 #A02886 #A07E28
square
#28A042 #284AA0 #A02886 #A07E28
split-complementary
#28A042 #7E28A0 #A0284A
monochromatic
#103E1A #1C6F2E #28A042 #38CD58 #69D981

Accessibility & contrast

On white

3.39
#28A042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#28A042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A042
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A042#FFFFFF#000000##000000
##28A0421.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29139
Deuteranopia (green-blind)
#94884A
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a042;
/* rgb */ color: rgb(40, 160, 66);
/* oklch */ color: oklch(62.1% 0.169 146.6);
Tailwind
colors: {
  custom: {
    50: '#75bd79',
    500: '#28a042',
    950: '#000000',
  },
}
SCSS
$custom: #28a042;
$custom-light: #75bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#28a042",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 133,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62071,
    "c": 0.16886,
    "h": 146.6
  },
  "luminance": 0.25986
}

Semantic roles & 50–950 ramp

primary
#28A042
secondary
#C064AC
accent
#45C1E3
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A042

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

Preview Lab → · Contrast checker → · Palette generator →

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