#28A12D#28A12D

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

Color values

HEX#28A12D
RGBrgb(40, 161, 45)
HSLhsl(122, 60%, 39%)
HSVhsv(122, 75%, 63%)
CMYKcmyk(75.2%, 0%, 72%, 36.9%)
CIE-LABlab(58.16, -55.01, 48.58)
CIE-LCHlch(58.16, 73.39, 138.55°)
OKLaboklab(62.12% -0.1491 0.1107)
OKLCHoklch(62.12% 0.186 143.4)
XYZxyz(14.0927, 26.1287, 6.7827)
Luminance0.2613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A12D #A1289C
analogous
#60A128 #28A12D #28A169
triadic
#28A12D #2D28A1 #A12D28
tetradic
#28A12D #2860A1 #A1289C #A16928
square
#28A12D #2860A1 #A1289C #A16928
split-complementary
#28A12D #6928A1 #A12860
monochromatic
#103F12 #1C701F #28A12D #39CE3F #6ADA6E

Accessibility & contrast

On white

3.37
#28A12D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#28A12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A12D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A12D#FFFFFF#000000##000000
##28A12D1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28a12d;
/* rgb */ color: rgb(40, 161, 45);
/* oklch */ color: oklch(62.1% 0.186 143.4);
Tailwind
colors: {
  custom: {
    50: '#76be6d',
    500: '#28a12d',
    950: '#000000',
  },
}
SCSS
$custom: #28a12d;
$custom-light: #76be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a12d",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 122.479,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62122,
    "c": 0.18569,
    "h": 143.4
  },
  "luminance": 0.2613
}

Semantic roles & 50–950 ramp

primary
#28A12D
secondary
#C065BC
accent
#44DDE3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A12D

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

Preview Lab → · Contrast checker → · Palette generator →

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