#28AF27#28AF27

#28AF27 is a light, highly saturated green. Relative luminance 0.313; OKLCH L 65.9% C 0.205 H 142.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#28AF27
RGBrgb(40, 175, 39)
HSLhsl(120, 64%, 42%)
HSVhsv(120, 78%, 69%)
CMYKcmyk(77.1%, 0%, 77.7%, 31.4%)
CIE-LABlab(62.72, -60.00, 55.31)
CIE-LCHlch(62.72, 81.61, 137.33°)
OKLaboklab(65.9% -0.1629 0.1239)
OKLCHoklch(65.9% 0.205 142.7)
XYZxyz(16.5702, 31.2556, 7.0787)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF27 #AE27AF
analogous
#6CAF27 #28AF27 #27AF6A
triadic
#28AF27 #2728AF #AF2728
tetradic
#28AF27 #276CAF #AE27AF #AF6A27
square
#28AF27 #276CAF #AE27AF #AF6A27
split-complementary
#28AF27 #6A27AF #AF276C
monochromatic
#114B11 #1D7D1C #28AF27 #40D43F #72DF71

Accessibility & contrast

On white

2.90
#28AF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#28AF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF27
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF27#FFFFFF#000000##000000
##28AF271.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E02
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#00AA95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af27;
/* rgb */ color: rgb(40, 175, 39);
/* oklch */ color: oklch(65.9% 0.205 142.7);
Tailwind
colors: {
  custom: {
    50: '#7ac86c',
    500: '#28af27',
    950: '#000000',
  },
}
SCSS
$custom: #28af27;
$custom-light: #7ac86c;
$custom-dark: #000000;
JSON
{
  "hex": "#28af27",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 119.559,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65902,
    "c": 0.2047,
    "h": 142.7
  },
  "luminance": 0.31258
}

Semantic roles & 50–950 ramp

primary
#28AF27
secondary
#C66BC6
accent
#41E7E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28AF27

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

Preview Lab → · Contrast checker → · Palette generator →

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