#28B942#28B942

#28B942 is a light, vivid green. Relative luminance 0.355; OKLCH L 68.8% C 0.199 H 145.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#28B942
RGBrgb(40, 185, 66)
HSLhsl(131, 64%, 44%)
HSVhsv(131, 78%, 73%)
CMYKcmyk(78.4%, 0%, 64.3%, 27.5%)
CIE-LABlab(66.17, -60.76, 48.52)
CIE-LCHlch(66.17, 77.76, 141.39°)
OKLaboklab(68.83% -0.1638 0.113)
OKLCHoklch(68.83% 0.199 145.4)
XYZxyz(19.2060, 35.5401, 11.0009)
Luminance0.3554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B942 #B9289F
analogous
#56B928 #28B942 #28B98B
triadic
#28B942 #4228B9 #B94228
tetradic
#28B942 #2856B9 #B9289F #B98B28
square
#28B942 #2856B9 #B9289F #B98B28
split-complementary
#28B942 #8B28B9 #B92856
monochromatic
#12541E #1D8730 #28B942 #47D761 #79E28C

Accessibility & contrast

On white

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

On black

8.11
#28B942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B942
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B942#FFFFFF#000000##000000
##28B9421.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28b942;
/* rgb */ color: rgb(40, 185, 66);
/* oklch */ color: oklch(68.8% 0.199 145.4);
Tailwind
colors: {
  custom: {
    50: '#7bcf7b',
    500: '#28b942',
    950: '#000000',
  },
}
SCSS
$custom: #28b942;
$custom-light: #7bcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#28b942",
  "rgb": {
    "r": 40,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 130.759,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68828,
    "c": 0.19898,
    "h": 145.4
  },
  "luminance": 0.35542
}

Semantic roles & 50–950 ramp

primary
#28B942
secondary
#CA73BA
accent
#40C9E7
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #28B942

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

Preview Lab → · Contrast checker → · Palette generator →

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