#28A751#28A751

#28A751 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.2% C 0.165 H 149.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#28A751
RGBrgb(40, 167, 81)
HSLhsl(139, 61%, 41%)
HSVhsv(139, 76%, 65%)
CMYKcmyk(76%, 0%, 51.5%, 34.5%)
CIE-LABlab(60.50, -52.64, 34.78)
CIE-LCHlch(60.50, 63.09, 146.55°)
OKLaboklab(64.18% -0.1415 0.0842)
OKLCHoklch(64.18% 0.165 149.3)
XYZxyz(16.1777, 28.6807, 12.4663)
Luminance0.2868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A751 #A7287E
analogous
#3EA728 #28A751 #28A790
triadic
#28A751 #5128A7 #A75128
tetradic
#28A751 #283EA7 #A7287E #A79028
square
#28A751 #283EA7 #A7287E #A79028
split-complementary
#28A751 #9028A7 #A7283E
monochromatic
#104421 #1C7639 #28A751 #3CD06C #6DDC91

Accessibility & contrast

On white

3.12
#28A751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#28A751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A751
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A751#FFFFFF#000000##000000
##28A7511.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984A
Deuteranopia (green-blind)
#9A8E57
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a751;
/* rgb */ color: rgb(40, 167, 81);
/* oklch */ color: oklch(64.2% 0.165 149.3);
Tailwind
colors: {
  custom: {
    50: '#76c283',
    500: '#28a751',
    950: '#000000',
  },
}
SCSS
$custom: #28a751;
$custom-light: #76c283;
$custom-dark: #000000;
JSON
{
  "hex": "#28a751",
  "rgb": {
    "r": 40,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 139.37,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64182,
    "c": 0.16464,
    "h": 149.3
  },
  "luminance": 0.28683
}

Semantic roles & 50–950 ramp

primary
#28A751
secondary
#C368A5
accent
#43B0E4
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #28A751

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

Preview Lab → · Contrast checker → · Palette generator →

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