#28784E#28784E

#28784E is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.3% C 0.103 H 156.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#28784E
RGBrgb(40, 120, 78)
HSLhsl(149, 50%, 31%)
HSVhsv(149, 67%, 47%)
CMYKcmyk(66.7%, 0%, 35%, 52.9%)
CIE-LABlab(44.85, -34.67, 16.14)
CIE-LCHlch(44.85, 38.24, 155.03°)
OKLaboklab(51.26% -0.0941 0.0407)
OKLCHoklch(51.26% 0.103 156.6)
XYZxyz(8.9659, 14.4332, 9.5196)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28784E #782852
analogous
#2A7828 #28784E #287876
triadic
#28784E #4E2878 #784E28
tetradic
#28784E #282A78 #782852 #787628
square
#28784E #282A78 #782852 #787628
split-complementary
#28784E #762878 #78282A
monochromatic
#091C12 #194A30 #28784E #37A66C #54C68A

Accessibility & contrast

On white

5.40
#28784E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#28784E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28784E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28784E#FFFFFF#000000##FFFFFF
##28784E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4B
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#00776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #28784e;
/* rgb */ color: rgb(40, 120, 78);
/* oklch */ color: oklch(51.3% 0.103 156.6);
Tailwind
colors: {
  custom: {
    50: '#6ca080',
    500: '#28784e',
    950: '#000000',
  },
}
SCSS
$custom: #28784e;
$custom-light: #6ca080;
$custom-dark: #000000;
JSON
{
  "hex": "#28784e",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 78
  },
  "hsl": {
    "h": 148.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51256,
    "c": 0.10257,
    "h": 156.6
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#28784E
secondary
#AA5280
accent
#4E97DA
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #28784E

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

Preview Lab → · Contrast checker → · Palette generator →

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