#28AF54#28AF54

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

Color values

HEX#28AF54
RGBrgb(40, 175, 84)
HSLhsl(140, 63%, 42%)
HSVhsv(140, 77%, 69%)
CMYKcmyk(77.1%, 0%, 52%, 31.4%)
CIE-LABlab(63.13, -55.01, 36.52)
CIE-LCHlch(63.13, 66.03, 146.42°)
OKLaboklab(66.38% -0.1478 0.0882)
OKLCHoklch(66.38% 0.172 149.2)
XYZxyz(17.8038, 31.7490, 13.5756)
Luminance0.3175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF54 #AF2883
analogous
#3FAF28 #28AF54 #28AF98
triadic
#28AF54 #5428AF #AF5428
tetradic
#28AF54 #283FAF #AF2883 #AF9828
square
#28AF54 #283FAF #AF2883 #AF9828
split-complementary
#28AF54 #9828AF #AF283F
monochromatic
#114B24 #1D7D3C #28AF54 #41D471 #73DF96

Accessibility & contrast

On white

2.86
#28AF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#28AF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF54
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF54#FFFFFF#000000##000000
##28AF541.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28af54;
/* rgb */ color: rgb(40, 175, 84);
/* oklch */ color: oklch(66.4% 0.172 149.2);
Tailwind
colors: {
  custom: {
    50: '#78c886',
    500: '#28af54',
    950: '#000000',
  },
}
SCSS
$custom: #28af54;
$custom-light: #78c886;
$custom-dark: #000000;
JSON
{
  "hex": "#28af54",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 84
  },
  "hsl": {
    "h": 139.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66377,
    "c": 0.17216,
    "h": 149.2
  },
  "luminance": 0.31751
}

Semantic roles & 50–950 ramp

primary
#28AF54
secondary
#C66DA9
accent
#42B0E6
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28AF54

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

Preview Lab → · Contrast checker → · Palette generator →

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