#28AF4F#28AF4F

#28AF4F is a light, vivid green. Relative luminance 0.317; OKLCH L 66.3% C 0.177 H 148.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#28AF4F
RGBrgb(40, 175, 79)
HSLhsl(137, 63%, 42%)
HSVhsv(137, 77%, 69%)
CMYKcmyk(77.1%, 0%, 54.9%, 31.4%)
CIE-LABlab(63.07, -55.76, 38.92)
CIE-LCHlch(63.07, 68.00, 145.09°)
OKLaboklab(66.3% -0.1499 0.0933)
OKLCHoklch(66.3% 0.177 148.1)
XYZxyz(17.6149, 31.6735, 12.5809)
Luminance0.3168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF4F #AF2888
analogous
#45AF28 #28AF4F #28AF92
triadic
#28AF4F #4F28AF #AF4F28
tetradic
#28AF4F #2845AF #AF2888 #AF9228
square
#28AF4F #2845AF #AF2888 #AF9228
split-complementary
#28AF4F #9228AF #AF2845
monochromatic
#114B22 #1D7D39 #28AF4F #41D46B #73DF92

Accessibility & contrast

On white

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

On black

7.34
#28AF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF4F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF4F#FFFFFF#000000##000000
##28AF4F1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F46
Deuteranopia (green-blind)
#A29456
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28af4f;
/* rgb */ color: rgb(40, 175, 79);
/* oklch */ color: oklch(66.3% 0.177 148.1);
Tailwind
colors: {
  custom: {
    50: '#78c883',
    500: '#28af4f',
    950: '#000000',
  },
}
SCSS
$custom: #28af4f;
$custom-light: #78c883;
$custom-dark: #000000;
JSON
{
  "hex": "#28af4f",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 137.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66304,
    "c": 0.17654,
    "h": 148.1
  },
  "luminance": 0.31676
}

Semantic roles & 50–950 ramp

primary
#28AF4F
secondary
#C66DAC
accent
#42B6E6
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28AF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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