#28B742#28B742

#28B742 is a light, vivid green. Relative luminance 0.347; OKLCH L 68.3% C 0.197 H 145.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#28B742
RGBrgb(40, 183, 66)
HSLhsl(131, 64%, 44%)
HSVhsv(131, 78%, 72%)
CMYKcmyk(78.1%, 0%, 63.9%, 28.2%)
CIE-LABlab(65.52, -60.11, 47.80)
CIE-LCHlch(65.52, 76.80, 141.51°)
OKLaboklab(68.29% -0.162 0.1114)
OKLCHoklch(68.29% 0.197 145.5)
XYZxyz(18.7906, 34.7092, 10.8624)
Luminance0.3471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B742 #B7289D
analogous
#55B728 #28B742 #28B789
triadic
#28B742 #4228B7 #B74228
tetradic
#28B742 #2855B7 #B7289D #B78928
square
#28B742 #2855B7 #B7289D #B78928
split-complementary
#28B742 #8928B7 #B72855
monochromatic
#12531E #1D8530 #28B742 #46D660 #78E18B

Accessibility & contrast

On white

2.64
#28B742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#28B742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B742
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B742#FFFFFF#000000##000000
##28B7421.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#AA9B4C
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #28b742;
/* rgb */ color: rgb(40, 183, 66);
/* oklch */ color: oklch(68.3% 0.197 145.5);
Tailwind
colors: {
  custom: {
    50: '#7ace7b',
    500: '#28b742',
    950: '#000000',
  },
}
SCSS
$custom: #28b742;
$custom-light: #7ace7b;
$custom-dark: #000000;
JSON
{
  "hex": "#28b742",
  "rgb": {
    "r": 40,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 130.909,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.19664,
    "h": 145.5
  },
  "luminance": 0.34711
}

Semantic roles & 50–950 ramp

primary
#28B742
secondary
#C972B9
accent
#41C9E7
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #28B742

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

Preview Lab → · Contrast checker → · Palette generator →

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