#28A12C#28A12C

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

Color values

HEX#28A12C
RGBrgb(40, 161, 44)
HSLhsl(122, 60%, 39%)
HSVhsv(122, 75%, 63%)
CMYKcmyk(75.2%, 0%, 72.7%, 36.9%)
CIE-LABlab(58.15, -55.10, 48.96)
CIE-LCHlch(58.15, 73.71, 138.38°)
OKLaboklab(62.11% -0.1494 0.1114)
OKLCHoklch(62.11% 0.186 143.3)
XYZxyz(14.0737, 26.1211, 6.6825)
Luminance0.2612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A12C #A1289D
analogous
#61A128 #28A12C #28A168
triadic
#28A12C #2C28A1 #A12C28
tetradic
#28A12C #2861A1 #A1289D #A16828
square
#28A12C #2861A1 #A1289D #A16828
split-complementary
#28A12C #6828A1 #A12861
monochromatic
#103F11 #1C701F #28A12C #39CE3D #6ADA6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A12C#FFFFFF#000000##000000
##28A12C1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28a12c;
/* rgb */ color: rgb(40, 161, 44);
/* oklch */ color: oklch(62.1% 0.186 143.3);
Tailwind
colors: {
  custom: {
    50: '#76be6c',
    500: '#28a12c',
    950: '#000000',
  },
}
SCSS
$custom: #28a12c;
$custom-light: #76be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a12c",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 121.983,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.18632,
    "h": 143.3
  },
  "luminance": 0.26123
}

Semantic roles & 50–950 ramp

primary
#28A12C
secondary
#C065BD
accent
#44DEE3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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