#28A42A#28A42A

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

Color values

HEX#28A42A
RGBrgb(40, 164, 42)
HSLhsl(121, 61%, 40%)
HSVhsv(121, 76%, 64%)
CMYKcmyk(75.6%, 0%, 74.4%, 35.7%)
CIE-LABlab(59.13, -56.25, 50.71)
CIE-LCHlch(59.13, 75.73, 137.97°)
OKLaboklab(62.92% -0.1526 0.1148)
OKLCHoklch(62.92% 0.191 143.1)
XYZxyz(14.5675, 27.1675, 6.6662)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A42A #A428A2
analogous
#64A428 #28A42A #28A468
triadic
#28A42A #2A28A4 #A42A28
tetradic
#28A42A #2864A4 #A428A2 #A46828
square
#28A42A #2864A4 #A428A2 #A46828
split-complementary
#28A42A #6828A4 #A42864
monochromatic
#104211 #1C731D #28A42A #3ACF3D #6BDB6D

Accessibility & contrast

On white

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

On black

6.43
#28A42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A42A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A42A#FFFFFF#000000##000000
##28A42A1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89413
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#009F8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a42a;
/* rgb */ color: rgb(40, 164, 42);
/* oklch */ color: oklch(62.9% 0.191 143.1);
Tailwind
colors: {
  custom: {
    50: '#77c06c',
    500: '#28a42a',
    950: '#000000',
  },
}
SCSS
$custom: #28a42a;
$custom-light: #77c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a42a",
  "rgb": {
    "r": 40,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 120.968,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.62921,
    "c": 0.19094,
    "h": 143.1
  },
  "luminance": 0.27169
}

Semantic roles & 50–950 ramp

primary
#28A42A
secondary
#C166C0
accent
#44E1E4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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