#28A124#28A124

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

Color values

HEX#28A124
RGBrgb(40, 161, 36)
HSLhsl(118, 63%, 39%)
HSVhsv(118, 78%, 63%)
CMYKcmyk(75.2%, 0%, 77.6%, 36.9%)
CIE-LABlab(58.10, -55.73, 51.80)
CIE-LCHlch(58.10, 76.09, 137.10°)
OKLaboklab(62.05% -0.1515 0.1162)
OKLCHoklch(62.05% 0.191 142.5)
XYZxyz(13.9375, 26.0666, 5.9656)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A124 #9D24A1
analogous
#66A124 #28A124 #24A15E
triadic
#28A124 #2428A1 #A12428
tetradic
#28A124 #2466A1 #9D24A1 #A15E24
square
#28A124 #2466A1 #9D24A1 #A15E24
split-complementary
#28A124 #5E24A1 #A12466
monochromatic
#0F3D0E #1C6F19 #28A124 #36D131 #67DC63

Accessibility & contrast

On white

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

On black

6.21
#28A124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A124
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A124#FFFFFF#000000##000000
##28A1241.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59104
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a124;
/* rgb */ color: rgb(40, 161, 36);
/* oklch */ color: oklch(62.1% 0.191 142.5);
Tailwind
colors: {
  custom: {
    50: '#77be68',
    500: '#28a124',
    950: '#000000',
  },
}
SCSS
$custom: #28a124;
$custom-light: #77be68;
$custom-dark: #000000;
JSON
{
  "hex": "#28a124",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 118.08,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62054,
    "c": 0.19092,
    "h": 142.5
  },
  "luminance": 0.26068
}

Semantic roles & 50–950 ramp

primary
#28A124
secondary
#BE5FC2
accent
#41E6E1
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A124

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

Preview Lab → · Contrast checker → · Palette generator →

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