#28774E#28774E

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

Color values

HEX#28774E
RGBrgb(40, 119, 78)
HSLhsl(149, 50%, 31%)
HSVhsv(149, 66%, 47%)
CMYKcmyk(66.4%, 0%, 34.5%, 53.3%)
CIE-LABlab(44.51, -34.23, 15.68)
CIE-LCHlch(44.51, 37.65, 155.38°)
OKLaboklab(50.98% -0.093 0.0396)
OKLCHoklch(50.98% 0.101 157)
XYZxyz(8.8462, 14.1939, 9.4797)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28774E #772851
analogous
#297728 #28774E #287775
triadic
#28774E #4E2877 #774E28
tetradic
#28774E #282977 #772851 #777528
square
#28774E #282977 #772851 #777528
split-complementary
#28774E #752877 #772829
monochromatic
#091B12 #194930 #28774E #37A56C #54C58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28774E#FFFFFF#000000##FFFFFF
##28774E1.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)
#766E4B
Deuteranopia (green-blind)
#6C6651
Tritanopia (blue-blind)
#00766C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #28774e;
/* rgb */ color: rgb(40, 119, 78);
/* oklch */ color: oklch(51.0% 0.101 157.0);
Tailwind
colors: {
  custom: {
    50: '#6c9f7f',
    500: '#28774e',
    950: '#000000',
  },
}
SCSS
$custom: #28774e;
$custom-light: #6c9f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28774e",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 78
  },
  "hsl": {
    "h": 148.861,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50979,
    "c": 0.10109,
    "h": 157
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#28774E
secondary
#A9527F
accent
#4F97D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28774E

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

Preview Lab → · Contrast checker → · Palette generator →

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