#28A128#28A128

#28A128 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.1% C 0.189 H 142.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#28A128
RGBrgb(40, 161, 40)
HSLhsl(120, 60%, 39%)
HSVhsv(120, 75%, 63%)
CMYKcmyk(75.2%, 0%, 75.2%, 36.9%)
CIE-LABlab(58.12, -55.43, 50.42)
CIE-LCHlch(58.12, 74.93, 137.71°)
OKLaboklab(62.08% -0.1505 0.1139)
OKLCHoklch(62.08% 0.189 142.9)
XYZxyz(14.0021, 26.0925, 6.3055)
Luminance0.2609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A128 #A128A1
analogous
#65A128 #28A128 #28A165
triadic
#28A128 #2828A1 #A12828
tetradic
#28A128 #2865A1 #A128A1 #A16528
square
#28A128 #2865A1 #A128A1 #A16528
split-complementary
#28A128 #6528A1 #A12865
monochromatic
#103F10 #1C701C #28A128 #39CE39 #6ADA6A

Accessibility & contrast

On white

3.38
#28A128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#28A128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A128
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A128#FFFFFF#000000##000000
##28A1281.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59110
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a128;
/* rgb */ color: rgb(40, 161, 40);
/* oklch */ color: oklch(62.1% 0.189 142.9);
Tailwind
colors: {
  custom: {
    50: '#76be6a',
    500: '#28a128',
    950: '#000000',
  },
}
SCSS
$custom: #28a128;
$custom-light: #76be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#28a128",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.18871,
    "h": 142.9
  },
  "luminance": 0.26094
}

Semantic roles & 50–950 ramp

primary
#28A128
secondary
#C065C0
accent
#44E3E3
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A128

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

Preview Lab → · Contrast checker → · Palette generator →

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