#28773A#28773A

#28773A is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.121 H 147.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#28773A
RGBrgb(40, 119, 58)
HSLhsl(134, 50%, 31%)
HSVhsv(134, 66%, 47%)
CMYKcmyk(66.4%, 0%, 51.3%, 53.3%)
CIE-LABlab(44.16, -38.06, 26.53)
CIE-LCHlch(44.16, 46.40, 145.12°)
OKLaboklab(50.58% -0.1027 0.0644)
OKLCHoklch(50.58% 0.121 147.9)
XYZxyz(8.2350, 13.9494, 6.2607)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28773A #772865
analogous
#3D7728 #28773A #287761
triadic
#28773A #3A2877 #773A28
tetradic
#28773A #283D77 #772865 #776128
square
#28773A #283D77 #772865 #776128
split-complementary
#28773A #612877 #77283D
monochromatic
#091B0D #194924 #28773A #37A550 #54C56E

Accessibility & contrast

On white

5.54
#28773A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#28773A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28773A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28773A#FFFFFF#000000##FFFFFF
##28773A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D35
Deuteranopia (green-blind)
#6E663E
Tritanopia (blue-blind)
#0F7569
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #28773a;
/* rgb */ color: rgb(40, 119, 58);
/* oklch */ color: oklch(50.6% 0.121 147.9);
Tailwind
colors: {
  custom: {
    50: '#6c9f71',
    500: '#28773a',
    950: '#000000',
  },
}
SCSS
$custom: #28773a;
$custom-light: #6c9f71;
$custom-dark: #000000;
JSON
{
  "hex": "#28773a",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 58
  },
  "hsl": {
    "h": 133.671,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.12127,
    "h": 147.9
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#28773A
secondary
#A95295
accent
#4FBAD9
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #28773A

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

Preview Lab → · Contrast checker → · Palette generator →

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