#28AB2F#28AB2F

#28AB2F is a light, vivid green. Relative luminance 0.298; OKLCH L 64.9% C 0.196 H 143.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#28AB2F
RGBrgb(40, 171, 47)
HSLhsl(123, 62%, 41%)
HSVhsv(123, 77%, 67%)
CMYKcmyk(76.6%, 0%, 72.5%, 32.9%)
CIE-LABlab(61.46, -58.11, 51.23)
CIE-LCHlch(61.46, 77.46, 138.60°)
OKLaboklab(64.87% -0.1574 0.1165)
OKLCHoklch(64.87% 0.196 143.5)
XYZxyz(15.9500, 29.7803, 7.5963)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AB2F #AB28A4
analogous
#63AB28 #28AB2F #28AB71
triadic
#28AB2F #2F28AB #AB2F28
tetradic
#28AB2F #2863AB #AB28A4 #AB7128
square
#28AB2F #2863AB #AB28A4 #AB7128
split-complementary
#28AB2F #7128AB #AB2863
monochromatic
#114814 #1C7921 #28AB2F #3ED246 #70DE76

Accessibility & contrast

On white

3.02
#28AB2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#28AB2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28AB2F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AB2F#FFFFFF#000000##000000
##28AB2F1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A1A
Deuteranopia (green-blind)
#A0913C
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #28ab2f;
/* rgb */ color: rgb(40, 171, 47);
/* oklch */ color: oklch(64.9% 0.196 143.5);
Tailwind
colors: {
  custom: {
    50: '#78c56f',
    500: '#28ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #28ab2f;
$custom-light: #78c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#28ab2f",
  "rgb": {
    "r": 40,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 123.206,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.19582,
    "h": 143.5
  },
  "luminance": 0.29782
}

Semantic roles & 50–950 ramp

primary
#28AB2F
secondary
#C46AC0
accent
#43DCE5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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