#28A81F#28A81F

#28A81F is a light, highly saturated green. Relative luminance 0.286; OKLCH L 63.9% C 0.201 H 142.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#28A81F
RGBrgb(40, 168, 31)
HSLhsl(116, 69%, 39%)
HSVhsv(116, 82%, 66%)
CMYKcmyk(76.2%, 0%, 81.5%, 34.1%)
CIE-LABlab(60.39, -58.30, 55.55)
CIE-LCHlch(60.39, 80.53, 136.39°)
OKLaboklab(63.95% -0.1587 0.1233)
OKLCHoklch(63.95% 0.201 142.1)
XYZxyz(15.1241, 28.5536, 6.0104)
Luminance0.2856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A81F #9F1FA8
analogous
#6DA81F #28A81F #1FA85B
triadic
#28A81F #1F28A8 #A81F28
tetradic
#28A81F #1F6DA8 #9F1FA8 #A85B1F
square
#28A81F #1F6DA8 #9F1FA8 #A85B1F
split-complementary
#28A81F #5B1FA8 #A81F6D
monochromatic
#0F410C #1C7415 #28A81F #37D82C #68E260

Accessibility & contrast

On white

3.13
#28A81F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#28A81F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A81F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A81F#FFFFFF#000000##000000
##28A81F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#00A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #28a81f;
/* rgb */ color: rgb(40, 168, 31);
/* oklch */ color: oklch(63.9% 0.201 142.1);
Tailwind
colors: {
  custom: {
    50: '#79c367',
    500: '#28a81f',
    950: '#000000',
  },
}
SCSS
$custom: #28a81f;
$custom-light: #79c367;
$custom-dark: #000000;
JSON
{
  "hex": "#28a81f",
  "rgb": {
    "r": 40,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 116.058,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63946,
    "c": 0.20096,
    "h": 142.1
  },
  "luminance": 0.28555
}

Semantic roles & 50–950 ramp

primary
#28A81F
secondary
#BF5DC6
accent
#3CECE0
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28A81F

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

Preview Lab → · Contrast checker → · Palette generator →

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