#28A126#28A126

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

Color values

HEX#28A126
RGBrgb(40, 161, 38)
HSLhsl(119, 62%, 39%)
HSVhsv(119, 76%, 63%)
CMYKcmyk(75.2%, 0%, 76.4%, 36.9%)
CIE-LABlab(58.11, -55.59, 51.12)
CIE-LCHlch(58.11, 75.52, 137.40°)
OKLaboklab(62.07% -0.151 0.1151)
OKLCHoklch(62.07% 0.19 142.7)
XYZxyz(13.9689, 26.0792, 6.1309)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A126 #9F26A1
analogous
#66A126 #28A126 #26A162
triadic
#28A126 #2628A1 #A12628
tetradic
#28A126 #2666A1 #9F26A1 #A16226
square
#28A126 #2666A1 #9F26A1 #A16226
split-complementary
#28A126 #6226A1 #A12666
monochromatic
#0F3E0F #1C6F1A #28A126 #37CF35 #68DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A126#FFFFFF#000000##000000
##28A1261.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)
#A5910A
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a126;
/* rgb */ color: rgb(40, 161, 38);
/* oklch */ color: oklch(62.1% 0.190 142.7);
Tailwind
colors: {
  custom: {
    50: '#77be69',
    500: '#28a126',
    950: '#000000',
  },
}
SCSS
$custom: #28a126;
$custom-light: #77be69;
$custom-dark: #000000;
JSON
{
  "hex": "#28a126",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 119.024,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62068,
    "c": 0.18985,
    "h": 142.7
  },
  "luminance": 0.26081
}

Semantic roles & 50–950 ramp

primary
#28A126
secondary
#BF62C1
accent
#43E5E2
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A126

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

Preview Lab → · Contrast checker → · Palette generator →

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