#28764D#28764D

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

Color values

HEX#28764D
RGBrgb(40, 118, 77)
HSLhsl(148, 49%, 31%)
HSVhsv(148, 66%, 46%)
CMYKcmyk(66.1%, 0%, 34.7%, 53.7%)
CIE-LABlab(44.15, -34.00, 15.78)
CIE-LCHlch(44.15, 37.48, 155.11°)
OKLaboklab(50.68% -0.0924 0.0398)
OKLCHoklch(50.68% 0.101 156.7)
XYZxyz(8.6923, 13.9429, 9.2529)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28764D #762851
analogous
#2A7628 #28764D #287674
triadic
#28764D #4D2876 #764D28
tetradic
#28764D #282A76 #762851 #767428
square
#28764D #282A76 #762851 #767428
split-complementary
#28764D #742876 #76282A
monochromatic
#091B11 #19482F #28764D #37A46B #54C589

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28764D#FFFFFF#000000##FFFFFF
##28764D1.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)
#756D4A
Deuteranopia (green-blind)
#6B6550
Tritanopia (blue-blind)
#00756B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #28764d;
/* rgb */ color: rgb(40, 118, 77);
/* oklch */ color: oklch(50.7% 0.101 156.7);
Tailwind
colors: {
  custom: {
    50: '#6b9e7f',
    500: '#28764d',
    950: '#000000',
  },
}
SCSS
$custom: #28764d;
$custom-light: #6b9e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28764d",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 77
  },
  "hsl": {
    "h": 148.462,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.10059,
    "h": 156.7
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#28764D
secondary
#A8527F
accent
#4F97D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28764D

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

Preview Lab → · Contrast checker → · Palette generator →

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