#28A02F#28A02F

#28A02F is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.183 H 143.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#28A02F
RGBrgb(40, 160, 47)
HSLhsl(124, 60%, 39%)
HSVhsv(124, 75%, 63%)
CMYKcmyk(75%, 0%, 70.6%, 37.3%)
CIE-LABlab(57.84, -54.50, 47.45)
CIE-LCHlch(57.84, 72.26, 138.95°)
OKLaboklab(61.87% -0.1476 0.1086)
OKLCHoklch(61.87% 0.183 143.7)
XYZxyz(13.9581, 25.7964, 6.9324)
Luminance0.2580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A02F #A02899
analogous
#5DA028 #28A02F #28A06B
triadic
#28A02F #2F28A0 #A02F28
tetradic
#28A02F #285DA0 #A02899 #A06B28
square
#28A02F #285DA0 #A02899 #A06B28
split-complementary
#28A02F #6B28A0 #A0285D
monochromatic
#103E12 #1C6F21 #28A02F #38CD41 #69D96F

Accessibility & contrast

On white

3.41
#28A02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#28A02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A02F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A02F#FFFFFF#000000##000000
##28A02F1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911E
Deuteranopia (green-blind)
#96873A
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a02f;
/* rgb */ color: rgb(40, 160, 47);
/* oklch */ color: oklch(61.9% 0.183 143.7);
Tailwind
colors: {
  custom: {
    50: '#76bd6e',
    500: '#28a02f',
    950: '#000000',
  },
}
SCSS
$custom: #28a02f;
$custom-light: #76bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#28a02f",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 123.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.18324,
    "h": 143.7
  },
  "luminance": 0.25798
}

Semantic roles & 50–950 ramp

primary
#28A02F
secondary
#C064BA
accent
#45DAE3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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