#28A225#28A225

#28A225 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.3% C 0.192 H 142.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#28A225
RGBrgb(40, 162, 37)
HSLhsl(119, 63%, 39%)
HSVhsv(119, 77%, 64%)
CMYKcmyk(75.3%, 0%, 77.2%, 36.5%)
CIE-LABlab(58.44, -55.99, 51.79)
CIE-LCHlch(58.44, 76.27, 137.23°)
OKLaboklab(62.34% -0.1521 0.1163)
OKLCHoklch(62.34% 0.192 142.6)
XYZxyz(14.1285, 26.4237, 6.1056)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A225 #9F25A2
analogous
#67A225 #28A225 #25A261
triadic
#28A225 #2528A2 #A22528
tetradic
#28A225 #2567A2 #9F25A2 #A26125
square
#28A225 #2567A2 #9F25A2 #A26125
split-complementary
#28A225 #6125A2 #A22567
monochromatic
#0F3E0E #1C701A #28A225 #37D134 #68DC65

Accessibility & contrast

On white

3.34
#28A225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#28A225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A225
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A225#FFFFFF#000000##000000
##28A2251.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69207
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#009D8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #28a225;
/* rgb */ color: rgb(40, 162, 37);
/* oklch */ color: oklch(62.3% 0.192 142.6);
Tailwind
colors: {
  custom: {
    50: '#77bf69',
    500: '#28a225',
    950: '#000000',
  },
}
SCSS
$custom: #28a225;
$custom-light: #77bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#28a225",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 118.56,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62336,
    "c": 0.1915,
    "h": 142.6
  },
  "luminance": 0.26425
}

Semantic roles & 50–950 ramp

primary
#28A225
secondary
#BF61C2
accent
#42E6E2
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A225

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

Preview Lab → · Contrast checker → · Palette generator →

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