#28A42C#28A42C

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

Color values

HEX#28A42C
RGBrgb(40, 164, 44)
HSLhsl(122, 61%, 40%)
HSVhsv(122, 76%, 64%)
CMYKcmyk(75.6%, 0%, 73.2%, 35.7%)
CIE-LABlab(59.14, -56.09, 49.98)
CIE-LCHlch(59.14, 75.12, 138.30°)
OKLaboklab(62.94% -0.1521 0.1135)
OKLCHoklch(62.94% 0.19 143.3)
XYZxyz(14.6042, 27.1822, 6.8594)
Luminance0.2718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A42C #A428A0
analogous
#62A428 #28A42C #28A46A
triadic
#28A42C #2C28A4 #A42C28
tetradic
#28A42C #2862A4 #A428A0 #A46A28
square
#28A42C #2862A4 #A428A0 #A46A28
split-complementary
#28A42C #6A28A4 #A42862
monochromatic
#104212 #1C731F #28A42C #3ACF3F #6BDB6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A42C#FFFFFF#000000##000000
##28A42C1.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)
#A79417
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a42c;
/* rgb */ color: rgb(40, 164, 44);
/* oklch */ color: oklch(62.9% 0.190 143.3);
Tailwind
colors: {
  custom: {
    50: '#77c06d',
    500: '#28a42c',
    950: '#000000',
  },
}
SCSS
$custom: #28a42c;
$custom-light: #77c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a42c",
  "rgb": {
    "r": 40,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 121.935,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.18974,
    "h": 143.3
  },
  "luminance": 0.27184
}

Semantic roles & 50–950 ramp

primary
#28A42C
secondary
#C166BF
accent
#44DFE4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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