#28A02C#28A02C

#28A02C is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.8% C 0.185 H 143.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#28A02C
RGBrgb(40, 160, 44)
HSLhsl(122, 60%, 39%)
HSVhsv(122, 75%, 63%)
CMYKcmyk(75%, 0%, 72.5%, 37.3%)
CIE-LABlab(57.82, -54.77, 48.62)
CIE-LCHlch(57.82, 73.23, 138.41°)
OKLaboklab(61.84% -0.1485 0.1106)
OKLCHoklch(61.84% 0.185 143.3)
XYZxyz(13.8996, 25.7730, 6.6245)
Luminance0.2577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A02C #A0289C
analogous
#60A028 #28A02C #28A068
triadic
#28A02C #2C28A0 #A02C28
tetradic
#28A02C #2860A0 #A0289C #A06828
square
#28A02C #2860A0 #A0289C #A06828
split-complementary
#28A02C #6828A0 #A02860
monochromatic
#103E11 #1C6F1F #28A02C #38CD3D #69D96D

Accessibility & contrast

On white

3.41
#28A02C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#28A02C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A02C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A02C#FFFFFF#000000##000000
##28A02C1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39119
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a02c;
/* rgb */ color: rgb(40, 160, 44);
/* oklch */ color: oklch(61.8% 0.185 143.3);
Tailwind
colors: {
  custom: {
    50: '#76bd6c',
    500: '#28a02c',
    950: '#000000',
  },
}
SCSS
$custom: #28a02c;
$custom-light: #76bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a02c",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 122,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61839,
    "c": 0.18517,
    "h": 143.3
  },
  "luminance": 0.25775
}

Semantic roles & 50–950 ramp

primary
#28A02C
secondary
#C064BD
accent
#45DEE3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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