#28752B#28752B

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

Color values

HEX#28752B
RGBrgb(40, 117, 43)
HSLhsl(122, 49%, 31%)
HSVhsv(122, 66%, 46%)
CMYKcmyk(65.8%, 0%, 63.2%, 54.1%)
CIE-LABlab(43.28, -39.44, 33.28)
CIE-LCHlch(43.28, 51.61, 139.84°)
OKLaboklab(49.79% -0.107 0.0781)
OKLCHoklch(49.79% 0.132 143.9)
XYZxyz(7.6720, 13.3474, 4.4570)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28752B #752872
analogous
#4B7528 #28752B #287551
triadic
#28752B #2B2875 #752B28
tetradic
#28752B #284B75 #752872 #755128
square
#28752B #284B75 #752872 #755128
split-complementary
#28752B #512875 #75284B
monochromatic
#091A09 #18471A #28752B #38A33C #53C458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28752B#FFFFFF#000000##FFFFFF
##28752B1.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)
#776A23
Deuteranopia (green-blind)
#6E6431
Tritanopia (blue-blind)
#177265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #28752b;
/* rgb */ color: rgb(40, 117, 43);
/* oklch */ color: oklch(49.8% 0.132 143.9);
Tailwind
colors: {
  custom: {
    50: '#6c9d67',
    500: '#28752b',
    950: '#000000',
  },
}
SCSS
$custom: #28752b;
$custom-light: #6c9d67;
$custom-dark: #000000;
JSON
{
  "hex": "#28752b",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 122.338,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.13246,
    "h": 143.9
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#28752B
secondary
#A752A4
accent
#4FD3D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28752B

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

Preview Lab → · Contrast checker → · Palette generator →

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