#28B242#28B242

#28B242 is a light, vivid green. Relative luminance 0.327; OKLCH L 66.9% C 0.191 H 145.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#28B242
RGBrgb(40, 178, 66)
HSLhsl(131, 63%, 43%)
HSVhsv(131, 78%, 70%)
CMYKcmyk(77.5%, 0%, 62.9%, 30.2%)
CIE-LABlab(63.90, -58.47, 45.98)
CIE-LCHlch(63.90, 74.38, 141.82°)
OKLaboklab(66.95% -0.1576 0.1075)
OKLCHoklch(66.95% 0.191 145.7)
XYZxyz(17.7776, 32.6831, 10.5247)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B242 #B22898
analogous
#53B228 #28B242 #28B287
triadic
#28B242 #4228B2 #B24228
tetradic
#28B242 #2853B2 #B22898 #B28728
square
#28B242 #2853B2 #B22898 #B28728
split-complementary
#28B242 #8728B2 #B22853
monochromatic
#124E1D #1D802F #28B242 #43D55E #75E089

Accessibility & contrast

On white

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

On black

7.54
#28B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B242
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B242#FFFFFF#000000##000000
##28B2421.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A135
Deuteranopia (green-blind)
#A5974C
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #28b242;
/* rgb */ color: rgb(40, 178, 66);
/* oklch */ color: oklch(66.9% 0.191 145.7);
Tailwind
colors: {
  custom: {
    50: '#79ca7b',
    500: '#28b242',
    950: '#000000',
  },
}
SCSS
$custom: #28b242;
$custom-light: #79ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#28b242",
  "rgb": {
    "r": 40,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 131.304,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66948,
    "c": 0.19077,
    "h": 145.7
  },
  "luminance": 0.32685
}

Semantic roles & 50–950 ramp

primary
#28B242
secondary
#C76FB7
accent
#41C7E6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28B242

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

Preview Lab → · Contrast checker → · Palette generator →

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