#28A12F#28A12F

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

Color values

HEX#28A12F
RGBrgb(40, 161, 47)
HSLhsl(123, 60%, 39%)
HSVhsv(123, 75%, 63%)
CMYKcmyk(75.2%, 0%, 70.8%, 36.9%)
CIE-LABlab(58.17, -54.83, 47.80)
CIE-LCHlch(58.17, 72.74, 138.92°)
OKLaboklab(62.14% -0.1485 0.1093)
OKLCHoklch(62.14% 0.184 143.6)
XYZxyz(14.1321, 26.1445, 6.9904)
Luminance0.2615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A12F #A1289A
analogous
#5EA128 #28A12F #28A16C
triadic
#28A12F #2F28A1 #A12F28
tetradic
#28A12F #285EA1 #A1289A #A16C28
square
#28A12F #285EA1 #A1289A #A16C28
split-complementary
#28A12F #6C28A1 #A1285E
monochromatic
#103F12 #1C7021 #28A12F #39CE41 #6ADA70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A12F#FFFFFF#000000##000000
##28A12F1.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)
#A4921E
Deuteranopia (green-blind)
#97883A
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a12f;
/* rgb */ color: rgb(40, 161, 47);
/* oklch */ color: oklch(62.1% 0.184 143.6);
Tailwind
colors: {
  custom: {
    50: '#76be6e',
    500: '#28a12f',
    950: '#000000',
  },
}
SCSS
$custom: #28a12f;
$custom-light: #76be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#28a12f",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 123.471,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62139,
    "c": 0.1844,
    "h": 143.6
  },
  "luminance": 0.26146
}

Semantic roles & 50–950 ramp

primary
#28A12F
secondary
#C065BB
accent
#44DAE3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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