#28A04F#28A04F

#28A04F is a light, vivid green. Relative luminance 0.262; OKLCH L 62.3% C 0.157 H 149.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#28A04F
RGBrgb(40, 160, 79)
HSLhsl(140, 60%, 39%)
HSVhsv(140, 75%, 63%)
CMYKcmyk(75%, 0%, 50.6%, 37.3%)
CIE-LABlab(58.18, -50.43, 32.93)
CIE-LCHlch(58.18, 60.22, 146.86°)
OKLaboklab(62.26% -0.1356 0.0799)
OKLCHoklch(62.26% 0.157 149.5)
XYZxyz(14.8560, 26.1555, 11.6612)
Luminance0.2616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A04F #A02879
analogous
#3DA028 #28A04F #28A08B
triadic
#28A04F #4F28A0 #A04F28
tetradic
#28A04F #283DA0 #A02879 #A08B28
square
#28A04F #283DA0 #A02879 #A08B28
split-complementary
#28A04F #8B28A0 #A0283D
monochromatic
#103E1F #1C6F37 #28A04F #38CD68 #69D98E

Accessibility & contrast

On white

3.37
#28A04F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#28A04F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A04F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A04F#FFFFFF#000000##000000
##28A04F1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19248
Deuteranopia (green-blind)
#938855
Tritanopia (blue-blind)
#009D8D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a04f;
/* rgb */ color: rgb(40, 160, 79);
/* oklch */ color: oklch(62.3% 0.157 149.5);
Tailwind
colors: {
  custom: {
    50: '#74bd82',
    500: '#28a04f',
    950: '#000000',
  },
}
SCSS
$custom: #28a04f;
$custom-light: #74bd82;
$custom-dark: #000000;
JSON
{
  "hex": "#28a04f",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 139.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62258,
    "c": 0.15739,
    "h": 149.5
  },
  "luminance": 0.26157
}

Semantic roles & 50–950 ramp

primary
#28A04F
secondary
#C064A2
accent
#45B0E3
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#09120A
muted
#7B817C

Preview Lab

Preview with #28A04F

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

Preview Lab → · Contrast checker → · Palette generator →

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