#28752E#28752E

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

Color values

HEX#28752E
RGBrgb(40, 117, 46)
HSLhsl(125, 49%, 31%)
HSVhsv(125, 66%, 46%)
CMYKcmyk(65.8%, 0%, 60.7%, 54.1%)
CIE-LABlab(43.32, -39.05, 31.83)
CIE-LCHlch(43.32, 50.38, 140.82°)
OKLaboklab(49.83% -0.1058 0.0753)
OKLCHoklch(49.83% 0.13 144.6)
XYZxyz(7.7290, 13.3702, 4.7576)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28752E #75286F
analogous
#487528 #28752E #287554
triadic
#28752E #2E2875 #752E28
tetradic
#28752E #284875 #75286F #755428
square
#28752E #284875 #75286F #755428
split-complementary
#28752E #542875 #752848
monochromatic
#091A0A #18471C #28752E #38A340 #53C45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28752E#FFFFFF#000000##FFFFFF
##28752E1.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)
#776A27
Deuteranopia (green-blind)
#6E6434
Tritanopia (blue-blind)
#167265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #28752e;
/* rgb */ color: rgb(40, 117, 46);
/* oklch */ color: oklch(49.8% 0.130 144.6);
Tailwind
colors: {
  custom: {
    50: '#6c9d69',
    500: '#28752e',
    950: '#000000',
  },
}
SCSS
$custom: #28752e;
$custom-light: #6c9d69;
$custom-dark: #000000;
JSON
{
  "hex": "#28752e",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 46
  },
  "hsl": {
    "h": 124.675,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.12982,
    "h": 144.6
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#28752E
secondary
#A752A0
accent
#4FCED9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28752E

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

Preview Lab → · Contrast checker → · Palette generator →

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