#28AF56#28AF56

#28AF56 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.4% C 0.170 H 149.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#28AF56
RGBrgb(40, 175, 86)
HSLhsl(140, 63%, 42%)
HSVhsv(140, 77%, 69%)
CMYKcmyk(77.1%, 0%, 50.9%, 31.4%)
CIE-LABlab(63.16, -54.70, 35.55)
CIE-LCHlch(63.16, 65.24, 146.98°)
OKLaboklab(66.41% -0.147 0.0862)
OKLCHoklch(66.41% 0.17 149.6)
XYZxyz(17.8833, 31.7808, 13.9941)
Luminance0.3178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF56 #AF2881
analogous
#3EAF28 #28AF56 #28AF99
triadic
#28AF56 #5628AF #AF5628
tetradic
#28AF56 #283EAF #AF2881 #AF9928
square
#28AF56 #283EAF #AF2881 #AF9928
split-complementary
#28AF56 #9928AF #AF283E
monochromatic
#114B25 #1D7D3E #28AF56 #41D473 #73DF97

Accessibility & contrast

On white

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

On black

7.36
#28AF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF56
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF56#FFFFFF#000000##000000
##28AF561.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4F
Deuteranopia (green-blind)
#A1955D
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af56;
/* rgb */ color: rgb(40, 175, 86);
/* oklch */ color: oklch(66.4% 0.170 149.6);
Tailwind
colors: {
  custom: {
    50: '#78c887',
    500: '#28af56',
    950: '#000000',
  },
}
SCSS
$custom: #28af56;
$custom-light: #78c887;
$custom-dark: #000000;
JSON
{
  "hex": "#28af56",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 86
  },
  "hsl": {
    "h": 140.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66407,
    "c": 0.17037,
    "h": 149.6
  },
  "luminance": 0.31783
}

Semantic roles & 50–950 ramp

primary
#28AF56
secondary
#C66DA8
accent
#42AEE6
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28AF56

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

Preview Lab → · Contrast checker → · Palette generator →

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