#28B23B#28B23B

#28B23B is a light, vivid green. Relative luminance 0.326; OKLCH L 66.9% C 0.196 H 144.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#28B23B
RGBrgb(40, 178, 59)
HSLhsl(128, 63%, 43%)
HSVhsv(128, 78%, 70%)
CMYKcmyk(77.5%, 0%, 66.9%, 30.2%)
CIE-LABlab(63.84, -59.24, 48.94)
CIE-LCHlch(63.84, 76.84, 140.44°)
OKLaboklab(66.88% -0.1599 0.1131)
OKLCHoklch(66.88% 0.196 144.7)
XYZxyz(17.5837, 32.6056, 9.5036)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B23B #B2289F
analogous
#5AB228 #28B23B #28B280
triadic
#28B23B #3B28B2 #B23B28
tetradic
#28B23B #285AB2 #B2289F #B28028
square
#28B23B #285AB2 #B2289F #B28028
split-complementary
#28B23B #8028B2 #B2285A
monochromatic
#124E1A #1D802A #28B23B #43D557 #75E083

Accessibility & contrast

On white

2.79
#28B23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#28B23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B23B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B23B#FFFFFF#000000##000000
##28B23B1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12B
Deuteranopia (green-blind)
#A69746
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #28b23b;
/* rgb */ color: rgb(40, 178, 59);
/* oklch */ color: oklch(66.9% 0.196 144.7);
Tailwind
colors: {
  custom: {
    50: '#7aca76',
    500: '#28b23b',
    950: '#000000',
  },
}
SCSS
$custom: #28b23b;
$custom-light: #7aca76;
$custom-dark: #000000;
JSON
{
  "hex": "#28b23b",
  "rgb": {
    "r": 40,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 128.261,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66876,
    "c": 0.1959,
    "h": 144.7
  },
  "luminance": 0.32608
}

Semantic roles & 50–950 ramp

primary
#28B23B
secondary
#C76FBB
accent
#41D0E6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28B23B

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

Preview Lab → · Contrast checker → · Palette generator →

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