#28774D#28774D

#28774D is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.0% C 0.102 H 156.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#28774D
RGBrgb(40, 119, 77)
HSLhsl(148, 50%, 31%)
HSVhsv(148, 66%, 47%)
CMYKcmyk(66.4%, 0%, 35.3%, 53.3%)
CIE-LABlab(44.49, -34.44, 16.24)
CIE-LCHlch(44.49, 38.08, 154.76°)
OKLaboklab(50.96% -0.0935 0.0409)
OKLCHoklch(50.96% 0.102 156.4)
XYZxyz(8.8107, 14.1797, 9.2924)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28774D #772852
analogous
#2A7728 #28774D #287774
triadic
#28774D #4D2877 #774D28
tetradic
#28774D #282A77 #772852 #777428
square
#28774D #282A77 #772852 #777428
split-complementary
#28774D #742877 #77282A
monochromatic
#091B12 #19492F #28774D #37A56B #54C589

Accessibility & contrast

On white

5.47
#28774D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#28774D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28774D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28774D#FFFFFF#000000##FFFFFF
##28774D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E4A
Deuteranopia (green-blind)
#6C6650
Tritanopia (blue-blind)
#00766C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #28774d;
/* rgb */ color: rgb(40, 119, 77);
/* oklch */ color: oklch(51.0% 0.102 156.4);
Tailwind
colors: {
  custom: {
    50: '#6c9f7f',
    500: '#28774d',
    950: '#000000',
  },
}
SCSS
$custom: #28774d;
$custom-light: #6c9f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28774d",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 77
  },
  "hsl": {
    "h": 148.101,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.10208,
    "h": 156.4
  },
  "luminance": 0.14181
}

Semantic roles & 50–950 ramp

primary
#28774D
secondary
#A95280
accent
#4F98D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28774D

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

Preview Lab → · Contrast checker → · Palette generator →

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