#28A42B#28A42B

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

Color values

HEX#28A42B
RGBrgb(40, 164, 43)
HSLhsl(121, 61%, 40%)
HSVhsv(121, 76%, 64%)
CMYKcmyk(75.6%, 0%, 73.8%, 35.7%)
CIE-LABlab(59.14, -56.17, 50.34)
CIE-LCHlch(59.14, 75.43, 138.13°)
OKLaboklab(62.93% -0.1523 0.1141)
OKLCHoklch(62.93% 0.19 143.2)
XYZxyz(14.5857, 27.1748, 6.7616)
Luminance0.2718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A42B #A428A1
analogous
#63A428 #28A42B #28A469
triadic
#28A42B #2B28A4 #A42B28
tetradic
#28A42B #2863A4 #A428A1 #A46928
square
#28A42B #2863A4 #A428A1 #A46928
split-complementary
#28A42B #6928A4 #A42863
monochromatic
#104211 #1C731E #28A42B #3ACF3E #6BDB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A42B#FFFFFF#000000##000000
##28A42B1.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)
#A89415
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#009F8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #28a42b;
/* rgb */ color: rgb(40, 164, 43);
/* oklch */ color: oklch(62.9% 0.190 143.2);
Tailwind
colors: {
  custom: {
    50: '#77c06c',
    500: '#28a42b',
    950: '#000000',
  },
}
SCSS
$custom: #28a42b;
$custom-light: #77c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a42b",
  "rgb": {
    "r": 40,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 121.452,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.62929,
    "c": 0.19034,
    "h": 143.2
  },
  "luminance": 0.27176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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