#28B42C#28B42C

#28B42C is a light, highly saturated green. Relative luminance 0.333; OKLCH L 67.3% C 0.207 H 143.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#28B42C
RGBrgb(40, 180, 44)
HSLhsl(122, 64%, 43%)
HSVhsv(122, 78%, 71%)
CMYKcmyk(77.8%, 0%, 75.6%, 29.4%)
CIE-LABlab(64.38, -61.22, 55.26)
CIE-LCHlch(64.38, 82.47, 137.93°)
OKLaboklab(67.29% -0.166 0.1245)
OKLCHoklch(67.29% 0.208 143.1)
XYZxyz(17.6498, 33.2734, 7.8746)
Luminance0.3327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B42C #B428B0
analogous
#6AB428 #28B42C #28B472
triadic
#28B42C #2C28B4 #B42C28
tetradic
#28B42C #286AB4 #B428B0 #B47228
square
#28B42C #286AB4 #B428B0 #B47228
split-complementary
#28B42C #7228B4 #B4286A
monochromatic
#125014 #1D8220 #28B42C #44D548 #76E179

Accessibility & contrast

On white

2.74
#28B42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#28B42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B42C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B42C#FFFFFF#000000##000000
##28B42C1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30E
Deuteranopia (green-blind)
#A9983B
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #28b42c;
/* rgb */ color: rgb(40, 180, 44);
/* oklch */ color: oklch(67.3% 0.207 143.1);
Tailwind
colors: {
  custom: {
    50: '#7bcc6f',
    500: '#28b42c',
    950: '#000000',
  },
}
SCSS
$custom: #28b42c;
$custom-light: #7bcc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#28b42c",
  "rgb": {
    "r": 40,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 121.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67291,
    "c": 0.2075,
    "h": 143.1
  },
  "luminance": 0.33275
}

Semantic roles & 50–950 ramp

primary
#28B42C
secondary
#C870C6
accent
#41E2E7
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28B42C

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

Preview Lab → · Contrast checker → · Palette generator →

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