#28B945#28B945

#28B945 is a light, vivid green. Relative luminance 0.356; OKLCH L 68.9% C 0.197 H 145.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#28B945
RGBrgb(40, 185, 69)
HSLhsl(132, 64%, 44%)
HSVhsv(132, 78%, 73%)
CMYKcmyk(78.4%, 0%, 62.7%, 27.5%)
CIE-LABlab(66.19, -60.42, 47.23)
CIE-LCHlch(66.19, 76.69, 141.98°)
OKLaboklab(68.86% -0.1628 0.1105)
OKLCHoklch(68.86% 0.197 145.8)
XYZxyz(19.2968, 35.5764, 11.4790)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B945 #B9289C
analogous
#54B928 #28B945 #28B98E
triadic
#28B945 #4528B9 #B94528
tetradic
#28B945 #2854B9 #B9289C #B98E28
square
#28B945 #2854B9 #B9289C #B98E28
split-complementary
#28B945 #8E28B9 #B92854
monochromatic
#12541F #1D8732 #28B945 #47D764 #79E28E

Accessibility & contrast

On white

2.59
#28B945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#28B945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B945
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B945#FFFFFF#000000##000000
##28B9451.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA838
Deuteranopia (green-blind)
#AC9D4F
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #28b945;
/* rgb */ color: rgb(40, 185, 69);
/* oklch */ color: oklch(68.9% 0.197 145.8);
Tailwind
colors: {
  custom: {
    50: '#7bcf7d',
    500: '#28b945',
    950: '#000000',
  },
}
SCSS
$custom: #28b945;
$custom-light: #7bcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#28b945",
  "rgb": {
    "r": 40,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 132,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6886,
    "c": 0.19674,
    "h": 145.8
  },
  "luminance": 0.35579
}

Semantic roles & 50–950 ramp

primary
#28B945
secondary
#CA73B9
accent
#40C6E7
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #28B945

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

Preview Lab → · Contrast checker → · Palette generator →

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