#28732F#28732F

#28732F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.126 H 144.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#28732F
RGBrgb(40, 115, 47)
HSLhsl(126, 48%, 30%)
HSVhsv(126, 65%, 45%)
CMYKcmyk(65.2%, 0%, 59.1%, 54.9%)
CIE-LABlab(42.64, -38.12, 30.52)
CIE-LCHlch(42.64, 48.83, 141.32°)
OKLaboklab(49.27% -0.1032 0.0725)
OKLCHoklch(49.27% 0.126 144.9)
XYZxyz(7.5184, 12.9171, 4.7858)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28732F #73286C
analogous
#467328 #28732F #287354
triadic
#28732F #2F2873 #732F28
tetradic
#28732F #284673 #73286C #735428
square
#28732F #284673 #73286C #735428
split-complementary
#28732F #542873 #732846
monochromatic
#08180A #18461C #28732F #38A042 #52C35D

Accessibility & contrast

On white

5.86
#28732F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#28732F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28732F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28732F#FFFFFF#000000##FFFFFF
##28732F1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756928
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#177064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #28732f;
/* rgb */ color: rgb(40, 115, 47);
/* oklch */ color: oklch(49.3% 0.126 144.9);
Tailwind
colors: {
  custom: {
    50: '#6b9c6a',
    500: '#28732f',
    950: '#000000',
  },
}
SCSS
$custom: #28732f;
$custom-light: #6b9c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#28732f",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 47
  },
  "hsl": {
    "h": 125.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49273,
    "c": 0.12613,
    "h": 144.9
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#28732F
secondary
#A5529D
accent
#50CBD8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28732F

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

Preview Lab → · Contrast checker → · Palette generator →

#28732F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva