#28A42D#28A42D

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

Color values

HEX#28A42D
RGBrgb(40, 164, 45)
HSLhsl(122, 61%, 40%)
HSVhsv(122, 76%, 64%)
CMYKcmyk(75.6%, 0%, 72.6%, 35.7%)
CIE-LABlab(59.15, -56.00, 49.60)
CIE-LCHlch(59.15, 74.81, 138.47°)
OKLaboklab(62.94% -0.1518 0.1128)
OKLCHoklch(62.94% 0.189 143.4)
XYZxyz(14.6233, 27.1898, 6.9596)
Luminance0.2719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A42D #A4289F
analogous
#61A428 #28A42D #28A46B
triadic
#28A42D #2D28A4 #A42D28
tetradic
#28A42D #2861A4 #A4289F #A46B28
square
#28A42D #2861A4 #A4289F #A46B28
split-complementary
#28A42D #6B28A4 #A42861
monochromatic
#104212 #1C731F #28A42D #3ACF40 #6BDB70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A42D#FFFFFF#000000##000000
##28A42D1.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)
#A79419
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a42d;
/* rgb */ color: rgb(40, 164, 45);
/* oklch */ color: oklch(62.9% 0.189 143.4);
Tailwind
colors: {
  custom: {
    50: '#77c06d',
    500: '#28a42d',
    950: '#000000',
  },
}
SCSS
$custom: #28a42d;
$custom-light: #77c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a42d",
  "rgb": {
    "r": 40,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 122.419,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.62945,
    "c": 0.18912,
    "h": 143.4
  },
  "luminance": 0.27191
}

Semantic roles & 50–950 ramp

primary
#28A42D
secondary
#C166BE
accent
#44DDE4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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