#28B140#28B140

#28B140 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.7% C 0.191 H 145.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#28B140
RGBrgb(40, 177, 64)
HSLhsl(131, 63%, 43%)
HSVhsv(131, 77%, 69%)
CMYKcmyk(77.4%, 0%, 63.8%, 30.6%)
CIE-LABlab(63.56, -58.37, 46.48)
CIE-LCHlch(63.56, 74.61, 141.47°)
OKLaboklab(66.66% -0.1574 0.1084)
OKLCHoklch(66.66% 0.191 145.4)
XYZxyz(17.5214, 32.2635, 10.1535)
Luminance0.3227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B140 #B12899
analogous
#54B128 #28B140 #28B185
triadic
#28B140 #4028B1 #B14028
tetradic
#28B140 #2854B1 #B12899 #B18528
square
#28B140 #2854B1 #B12899 #B18528
split-complementary
#28B140 #8528B1 #B12854
monochromatic
#114D1C #1D7F2E #28B140 #42D45C #74E087

Accessibility & contrast

On white

2.82
#28B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#28B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B140
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B140#FFFFFF#000000##000000
##28B1401.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A033
Deuteranopia (green-blind)
#A5964A
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #28b140;
/* rgb */ color: rgb(40, 177, 64);
/* oklch */ color: oklch(66.7% 0.191 145.4);
Tailwind
colors: {
  custom: {
    50: '#79ca79',
    500: '#28b140',
    950: '#000000',
  },
}
SCSS
$custom: #28b140;
$custom-light: #79ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#28b140",
  "rgb": {
    "r": 40,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 130.511,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66657,
    "c": 0.19111,
    "h": 145.4
  },
  "luminance": 0.32266
}

Semantic roles & 50–950 ramp

primary
#28B140
secondary
#C76EB7
accent
#42C9E6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28B140

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

Preview Lab → · Contrast checker → · Palette generator →

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