#28764E#28764E

#28764E is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.7% C 0.100 H 157.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#28764E
RGBrgb(40, 118, 78)
HSLhsl(149, 49%, 31%)
HSVhsv(149, 66%, 46%)
CMYKcmyk(66.1%, 0%, 33.9%, 53.7%)
CIE-LABlab(44.17, -33.78, 15.22)
CIE-LCHlch(44.17, 37.05, 155.74°)
OKLaboklab(50.7% -0.0919 0.0385)
OKLCHoklch(50.7% 0.1 157.3)
XYZxyz(8.7279, 13.9571, 9.4403)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28764E #762850
analogous
#297628 #28764E #287675
triadic
#28764E #4E2876 #764E28
tetradic
#28764E #282976 #762850 #767528
square
#28764E #282976 #762850 #767528
split-complementary
#28764E #752876 #762829
monochromatic
#091B12 #194830 #28764E #37A46C #54C58B

Accessibility & contrast

On white

5.54
#28764E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#28764E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28764E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28764E#FFFFFF#000000##FFFFFF
##28764E1.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)
#756D4C
Deuteranopia (green-blind)
#6B6551
Tritanopia (blue-blind)
#00756C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #28764e;
/* rgb */ color: rgb(40, 118, 78);
/* oklch */ color: oklch(50.7% 0.100 157.3);
Tailwind
colors: {
  custom: {
    50: '#6b9e7f',
    500: '#28764e',
    950: '#000000',
  },
}
SCSS
$custom: #28764e;
$custom-light: #6b9e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28764e",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 78
  },
  "hsl": {
    "h": 149.231,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.0996,
    "h": 157.3
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#28764E
secondary
#A8527E
accent
#4F96D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28764E

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

Preview Lab → · Contrast checker → · Palette generator →

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