#28A23F#28A23F

#28A23F is a light, vivid green. Relative luminance 0.267; OKLCH L 62.6% C 0.174 H 145.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#28A23F
RGBrgb(40, 162, 63)
HSLhsl(131, 60%, 40%)
HSVhsv(131, 75%, 64%)
CMYKcmyk(75.3%, 0%, 61.1%, 36.5%)
CIE-LABlab(58.65, -53.42, 41.35)
CIE-LCHlch(58.65, 67.56, 142.26°)
OKLaboklab(62.58% -0.144 0.0973)
OKLCHoklch(62.58% 0.174 145.9)
XYZxyz(14.6916, 26.6490, 9.0711)
Luminance0.2665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A23F #A2288B
analogous
#4EA228 #28A23F #28A27C
triadic
#28A23F #3F28A2 #A23F28
tetradic
#28A23F #284EA2 #A2288B #A27C28
square
#28A23F #284EA2 #A2288B #A27C28
split-complementary
#28A23F #7C28A2 #A2284E
monochromatic
#104019 #1C712C #28A23F #39CE55 #6ADA7F

Accessibility & contrast

On white

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

On black

6.33
#28A23F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A23F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A23F#FFFFFF#000000##000000
##28A23F1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49334
Deuteranopia (green-blind)
#978947
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a23f;
/* rgb */ color: rgb(40, 162, 63);
/* oklch */ color: oklch(62.6% 0.174 145.9);
Tailwind
colors: {
  custom: {
    50: '#76bf77',
    500: '#28a23f',
    950: '#000000',
  },
}
SCSS
$custom: #28a23f;
$custom-light: #76bf77;
$custom-dark: #000000;
JSON
{
  "hex": "#28a23f",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 131.311,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62579,
    "c": 0.17382,
    "h": 145.9
  },
  "luminance": 0.26651
}

Semantic roles & 50–950 ramp

primary
#28A23F
secondary
#C165AF
accent
#44C6E4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #28A23F

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

Preview Lab → · Contrast checker → · Palette generator →

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