#28A12E#28A12E

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

Color values

HEX#28A12E
RGBrgb(40, 161, 46)
HSLhsl(123, 60%, 39%)
HSVhsv(123, 75%, 63%)
CMYKcmyk(75.2%, 0%, 71.4%, 36.9%)
CIE-LABlab(58.17, -54.92, 48.19)
CIE-LCHlch(58.17, 73.07, 138.73°)
OKLaboklab(62.13% -0.1488 0.11)
OKLCHoklch(62.13% 0.185 143.5)
XYZxyz(14.1122, 26.1365, 6.8853)
Luminance0.2614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A12E #A1289B
analogous
#5FA128 #28A12E #28A16B
triadic
#28A12E #2E28A1 #A12E28
tetradic
#28A12E #285FA1 #A1289B #A16B28
square
#28A12E #285FA1 #A1289B #A16B28
split-complementary
#28A12E #6B28A1 #A1285F
monochromatic
#103F12 #1C7020 #28A12E #39CE40 #6ADA6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A12E#FFFFFF#000000##000000
##28A12E1.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)
#A4921C
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a12e;
/* rgb */ color: rgb(40, 161, 46);
/* oklch */ color: oklch(62.1% 0.185 143.5);
Tailwind
colors: {
  custom: {
    50: '#76be6d',
    500: '#28a12e',
    950: '#000000',
  },
}
SCSS
$custom: #28a12e;
$custom-light: #76be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#28a12e",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 122.975,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6213,
    "c": 0.18505,
    "h": 143.5
  },
  "luminance": 0.26138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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