#28A127#28A127

#28A127 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.1% C 0.189 H 142.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#28A127
RGBrgb(40, 161, 39)
HSLhsl(120, 61%, 39%)
HSVhsv(120, 76%, 63%)
CMYKcmyk(75.2%, 0%, 75.8%, 36.9%)
CIE-LABlab(58.12, -55.51, 50.78)
CIE-LCHlch(58.12, 75.23, 137.55°)
OKLaboklab(62.08% -0.1507 0.1145)
OKLCHoklch(62.08% 0.189 142.8)
XYZxyz(13.9853, 26.0857, 6.2171)
Luminance0.2609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A127 #A027A1
analogous
#65A127 #28A127 #27A163
triadic
#28A127 #2728A1 #A12728
tetradic
#28A127 #2765A1 #A027A1 #A16327
square
#28A127 #2765A1 #A027A1 #A16327
split-complementary
#28A127 #6327A1 #A12765
monochromatic
#103E0F #1C701B #28A127 #38CE37 #69DA68

Accessibility & contrast

On white

3.38
#28A127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#28A127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A127
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A127#FFFFFF#000000##000000
##28A1271.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910D
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a127;
/* rgb */ color: rgb(40, 161, 39);
/* oklch */ color: oklch(62.1% 0.189 142.8);
Tailwind
colors: {
  custom: {
    50: '#76be6a',
    500: '#28a127',
    950: '#000000',
  },
}
SCSS
$custom: #28a127;
$custom-light: #76be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#28a127",
  "rgb": {
    "r": 40,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 119.508,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62075,
    "c": 0.18928,
    "h": 142.8
  },
  "luminance": 0.26087
}

Semantic roles & 50–950 ramp

primary
#28A127
secondary
#C063C0
accent
#44E4E3
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A127

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

Preview Lab → · Contrast checker → · Palette generator →

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