#28AE38#28AE38

#28AE38 is a light, vivid green. Relative luminance 0.310; OKLCH L 65.8% C 0.193 H 144.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#28AE38
RGBrgb(40, 174, 56)
HSLhsl(127, 63%, 42%)
HSVhsv(127, 77%, 68%)
CMYKcmyk(77%, 0%, 67.8%, 31.8%)
CIE-LABlab(62.51, -58.24, 48.75)
CIE-LCHlch(62.51, 75.95, 140.07°)
OKLaboklab(65.77% -0.1574 0.1124)
OKLCHoklch(65.77% 0.193 144.5)
XYZxyz(16.7238, 31.0068, 8.8441)
Luminance0.3101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE38 #AE289E
analogous
#5BAE28 #28AE38 #28AE7B
triadic
#28AE38 #3828AE #AE3828
tetradic
#28AE38 #285BAE #AE289E #AE7B28
square
#28AE38 #285BAE #AE289E #AE7B28
split-complementary
#28AE38 #7B28AE #AE285B
monochromatic
#114A18 #1D7C28 #28AE38 #40D352 #72DF7F

Accessibility & contrast

On white

2.92
#28AE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#28AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AE38
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AE38#FFFFFF#000000##000000
##28AE381.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D28
Deuteranopia (green-blind)
#A29343
Tritanopia (blue-blind)
#00A996
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #28ae38;
/* rgb */ color: rgb(40, 174, 56);
/* oklch */ color: oklch(65.8% 0.193 144.5);
Tailwind
colors: {
  custom: {
    50: '#79c774',
    500: '#28ae38',
    950: '#000000',
  },
}
SCSS
$custom: #28ae38;
$custom-light: #79c774;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae38",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 127.164,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.19338,
    "h": 144.5
  },
  "luminance": 0.31009
}

Semantic roles & 50–950 ramp

primary
#28AE38
secondary
#C66CBB
accent
#42D2E6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #28AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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