#28752A#28752A

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

Color values

HEX#28752A
RGBrgb(40, 117, 42)
HSLhsl(122, 49%, 31%)
HSVhsv(122, 66%, 46%)
CMYKcmyk(65.8%, 0%, 64.1%, 54.1%)
CIE-LABlab(43.27, -39.56, 33.76)
CIE-LCHlch(43.27, 52.01, 139.53°)
OKLaboklab(49.78% -0.1074 0.0791)
OKLCHoklch(49.78% 0.133 143.6)
XYZxyz(7.6538, 13.3401, 4.3616)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28752A #752873
analogous
#4C7528 #28752A #287550
triadic
#28752A #2A2875 #752A28
tetradic
#28752A #284C75 #752873 #755028
square
#28752A #284C75 #752873 #755028
split-complementary
#28752A #502875 #75284C
monochromatic
#091A09 #18471A #28752A #38A33A #53C456

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28752A#FFFFFF#000000##FFFFFF
##28752A1.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)
#776A22
Deuteranopia (green-blind)
#6E6430
Tritanopia (blue-blind)
#187265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #28752a;
/* rgb */ color: rgb(40, 117, 42);
/* oklch */ color: oklch(49.8% 0.133 143.6);
Tailwind
colors: {
  custom: {
    50: '#6c9d67',
    500: '#28752a',
    950: '#000000',
  },
}
SCSS
$custom: #28752a;
$custom-light: #6c9d67;
$custom-dark: #000000;
JSON
{
  "hex": "#28752a",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 121.558,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.13332,
    "h": 143.6
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#28752A
secondary
#A752A5
accent
#4FD5D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28752A

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

Preview Lab → · Contrast checker → · Palette generator →

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