#28752D#28752D

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

Color values

HEX#28752D
RGBrgb(40, 117, 45)
HSLhsl(124, 49%, 31%)
HSVhsv(124, 66%, 46%)
CMYKcmyk(65.8%, 0%, 61.5%, 54.1%)
CIE-LABlab(43.30, -39.18, 32.32)
CIE-LCHlch(43.30, 50.79, 140.49°)
OKLaboklab(49.82% -0.1062 0.0762)
OKLCHoklch(49.82% 0.131 144.3)
XYZxyz(7.7095, 13.3624, 4.6550)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28752D #752870
analogous
#497528 #28752D #287553
triadic
#28752D #2D2875 #752D28
tetradic
#28752D #284975 #752870 #755328
square
#28752D #284975 #752870 #755328
split-complementary
#28752D #532875 #752849
monochromatic
#091A0A #18471B #28752D #38A33F #53C45A

Accessibility & contrast

On white

5.72
#28752D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#28752D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28752D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28752D#FFFFFF#000000##FFFFFF
##28752D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A26
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#177265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #28752d;
/* rgb */ color: rgb(40, 117, 45);
/* oklch */ color: oklch(49.8% 0.131 144.3);
Tailwind
colors: {
  custom: {
    50: '#6c9d68',
    500: '#28752d',
    950: '#000000',
  },
}
SCSS
$custom: #28752d;
$custom-light: #6c9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#28752d",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 45
  },
  "hsl": {
    "h": 123.896,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.13071,
    "h": 144.3
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#28752D
secondary
#A752A2
accent
#4FD0D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28752D

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

Preview Lab → · Contrast checker → · Palette generator →

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