#28A23B#28A23B

#28A23B is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.177 H 145.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#28A23B
RGBrgb(40, 162, 59)
HSLhsl(129, 60%, 40%)
HSVhsv(129, 75%, 64%)
CMYKcmyk(75.3%, 0%, 63.6%, 36.5%)
CIE-LABlab(58.61, -53.91, 43.14)
CIE-LCHlch(58.61, 69.05, 141.33°)
OKLaboklab(62.53% -0.1455 0.1008)
OKLCHoklch(62.53% 0.177 145.3)
XYZxyz(14.5838, 26.6059, 8.5037)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A23B #A2288F
analogous
#52A228 #28A23B #28A278
triadic
#28A23B #3B28A2 #A23B28
tetradic
#28A23B #2852A2 #A2288F #A27828
square
#28A23B #2852A2 #A2288F #A27828
split-complementary
#28A23B #7828A2 #A22852
monochromatic
#104017 #1C7129 #28A23B #39CE50 #6ADA7C

Accessibility & contrast

On white

3.32
#28A23B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#28A23B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A23B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A23B#FFFFFF#000000##000000
##28A23B1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932F
Deuteranopia (green-blind)
#978944
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a23b;
/* rgb */ color: rgb(40, 162, 59);
/* oklch */ color: oklch(62.5% 0.177 145.3);
Tailwind
colors: {
  custom: {
    50: '#76bf75',
    500: '#28a23b',
    950: '#000000',
  },
}
SCSS
$custom: #28a23b;
$custom-light: #76bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#28a23b",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 129.344,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62532,
    "c": 0.17699,
    "h": 145.3
  },
  "luminance": 0.26608
}

Semantic roles & 50–950 ramp

primary
#28A23B
secondary
#C165B2
accent
#44CBE4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A23B

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

Preview Lab → · Contrast checker → · Palette generator →

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