#28A42F#28A42F

#28A42F is a light, vivid green. Relative luminance 0.272; OKLCH L 63.0% C 0.188 H 143.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#28A42F
RGBrgb(40, 164, 47)
HSLhsl(123, 61%, 40%)
HSVhsv(123, 76%, 64%)
CMYKcmyk(75.6%, 0%, 71.3%, 35.7%)
CIE-LABlab(59.16, -55.82, 48.84)
CIE-LCHlch(59.16, 74.17, 138.82°)
OKLaboklab(62.96% -0.1512 0.1115)
OKLCHoklch(62.96% 0.188 143.6)
XYZxyz(14.6627, 27.2056, 7.1672)
Luminance0.2721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A42F #A4289D
analogous
#5FA428 #28A42F #28A46D
triadic
#28A42F #2F28A4 #A42F28
tetradic
#28A42F #285FA4 #A4289D #A46D28
square
#28A42F #285FA4 #A4289D #A46D28
split-complementary
#28A42F #6D28A4 #A4285F
monochromatic
#104213 #1C7321 #28A42F #3ACF43 #6BDB72

Accessibility & contrast

On white

3.26
#28A42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#28A42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A42F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A42F#FFFFFF#000000##000000
##28A42F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941D
Deuteranopia (green-blind)
#998B3B
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a42f;
/* rgb */ color: rgb(40, 164, 47);
/* oklch */ color: oklch(63.0% 0.188 143.6);
Tailwind
colors: {
  custom: {
    50: '#77c06e',
    500: '#28a42f',
    950: '#000000',
  },
}
SCSS
$custom: #28a42f;
$custom-light: #77c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#28a42f",
  "rgb": {
    "r": 40,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 123.387,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.62961,
    "c": 0.18786,
    "h": 143.6
  },
  "luminance": 0.27207
}

Semantic roles & 50–950 ramp

primary
#28A42F
secondary
#C166BC
accent
#44DBE4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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