#28B042#28B042

#28B042 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.4% C 0.188 H 145.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#28B042
RGBrgb(40, 176, 66)
HSLhsl(131, 63%, 42%)
HSVhsv(131, 77%, 69%)
CMYKcmyk(77.3%, 0%, 62.5%, 31%)
CIE-LABlab(63.25, -57.80, 45.24)
CIE-LCHlch(63.25, 73.40, 141.95°)
OKLaboklab(66.41% -0.1558 0.106)
OKLCHoklch(66.41% 0.188 145.8)
XYZxyz(17.3825, 31.8931, 10.3931)
Luminance0.3190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B042 #B02896
analogous
#52B028 #28B042 #28B086
triadic
#28B042 #4228B0 #B04228
tetradic
#28B042 #2852B0 #B02896 #B08628
square
#28B042 #2852B0 #B02896 #B08628
split-complementary
#28B042 #8628B0 #B02852
monochromatic
#114C1D #1D7E2F #28B042 #41D45D #73DF88

Accessibility & contrast

On white

2.85
#28B042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#28B042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B042
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B042#FFFFFF#000000##000000
##28B0421.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A036
Deuteranopia (green-blind)
#A4954B
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28b042;
/* rgb */ color: rgb(40, 176, 66);
/* oklch */ color: oklch(66.4% 0.188 145.8);
Tailwind
colors: {
  custom: {
    50: '#79c97a',
    500: '#28b042',
    950: '#000000',
  },
}
SCSS
$custom: #28b042;
$custom-light: #79c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#28b042",
  "rgb": {
    "r": 40,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 131.471,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6641,
    "c": 0.1884,
    "h": 145.8
  },
  "luminance": 0.31895
}

Semantic roles & 50–950 ramp

primary
#28B042
secondary
#C66DB5
accent
#42C7E6
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28B042

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

Preview Lab → · Contrast checker → · Palette generator →

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