#28752F#28752F

#28752F is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.129 H 144.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#28752F
RGBrgb(40, 117, 47)
HSLhsl(125, 49%, 31%)
HSVhsv(125, 66%, 46%)
CMYKcmyk(65.8%, 0%, 59.8%, 54.1%)
CIE-LABlab(43.33, -38.92, 31.33)
CIE-LCHlch(43.33, 49.96, 141.16°)
OKLaboklab(49.84% -0.1054 0.0743)
OKLCHoklch(49.84% 0.129 144.8)
XYZxyz(7.7490, 13.3782, 4.8627)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28752F #75286E
analogous
#477528 #28752F #287555
triadic
#28752F #2F2875 #752F28
tetradic
#28752F #284775 #75286E #755528
square
#28752F #284775 #75286E #755528
split-complementary
#28752F #552875 #752847
monochromatic
#091A0A #18471D #28752F #38A341 #53C45D

Accessibility & contrast

On white

5.71
#28752F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#28752F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28752F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28752F#FFFFFF#000000##FFFFFF
##28752F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A28
Deuteranopia (green-blind)
#6D6434
Tritanopia (blue-blind)
#167266
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #28752f;
/* rgb */ color: rgb(40, 117, 47);
/* oklch */ color: oklch(49.8% 0.129 144.8);
Tailwind
colors: {
  custom: {
    50: '#6c9d6a',
    500: '#28752f',
    950: '#000000',
  },
}
SCSS
$custom: #28752f;
$custom-light: #6c9d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#28752f",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 125.455,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49842,
    "c": 0.12892,
    "h": 144.8
  },
  "luminance": 0.13379
}

Semantic roles & 50–950 ramp

primary
#28752F
secondary
#A7529F
accent
#4FCCD9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28752F

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

Preview Lab → · Contrast checker → · Palette generator →

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