#28A12A#28A12A

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

Color values

HEX#28A12A
RGBrgb(40, 161, 42)
HSLhsl(121, 60%, 39%)
HSVhsv(121, 75%, 63%)
CMYKcmyk(75.2%, 0%, 73.9%, 36.9%)
CIE-LABlab(58.14, -55.27, 49.70)
CIE-LCHlch(58.14, 74.33, 138.04°)
OKLaboklab(62.1% -0.1499 0.1127)
OKLCHoklch(62.1% 0.188 143.1)
XYZxyz(14.0370, 26.1064, 6.4893)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A12A #A1289F
analogous
#63A128 #28A12A #28A167
triadic
#28A12A #2A28A1 #A12A28
tetradic
#28A12A #2863A1 #A1289F #A16728
square
#28A12A #2863A1 #A1289F #A16728
split-complementary
#28A12A #6728A1 #A12863
monochromatic
#103F10 #1C701D #28A12A #39CE3B #6ADA6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28A12A#FFFFFF#000000##000000
##28A12A1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28a12a;
/* rgb */ color: rgb(40, 161, 42);
/* oklch */ color: oklch(62.1% 0.188 143.1);
Tailwind
colors: {
  custom: {
    50: '#76be6b',
    500: '#28a12a',
    950: '#000000',
  },
}
SCSS
$custom: #28a12a;
$custom-light: #76be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#28a12a",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 120.992,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62098,
    "c": 0.18754,
    "h": 143.1
  },
  "luminance": 0.26108
}

Semantic roles & 50–950 ramp

primary
#28A12A
secondary
#C065BF
accent
#44E1E3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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