#28732E#28732E

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

Color values

HEX#28732E
RGBrgb(40, 115, 46)
HSLhsl(125, 48%, 30%)
HSVhsv(125, 65%, 45%)
CMYKcmyk(65.2%, 0%, 60%, 54.9%)
CIE-LABlab(42.63, -38.25, 31.02)
CIE-LCHlch(42.63, 49.25, 140.96°)
OKLaboklab(49.26% -0.1036 0.0735)
OKLCHoklch(49.26% 0.127 144.6)
XYZxyz(7.4985, 12.9091, 4.6808)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28732E #73286D
analogous
#477328 #28732E #287353
triadic
#28732E #2E2873 #732E28
tetradic
#28732E #284773 #73286D #735328
square
#28732E #284773 #73286D #735328
split-complementary
#28732E #532873 #732847
monochromatic
#08180A #18461C #28732E #38A040 #52C35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28732E#FFFFFF#000000##FFFFFF
##28732E1.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)
#756927
Deuteranopia (green-blind)
#6C6233
Tritanopia (blue-blind)
#177064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #28732e;
/* rgb */ color: rgb(40, 115, 46);
/* oklch */ color: oklch(49.3% 0.127 144.6);
Tailwind
colors: {
  custom: {
    50: '#6c9c69',
    500: '#28732e',
    950: '#000000',
  },
}
SCSS
$custom: #28732e;
$custom-light: #6c9c69;
$custom-dark: #000000;
JSON
{
  "hex": "#28732e",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 46
  },
  "hsl": {
    "h": 124.8,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.12705,
    "h": 144.6
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#28732E
secondary
#A5529F
accent
#50CDD8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28732E

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

Preview Lab → · Contrast checker → · Palette generator →

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