#28794E#28794E

#28794E is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.104 H 156.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#28794E
RGBrgb(40, 121, 78)
HSLhsl(148, 50%, 32%)
HSVhsv(148, 67%, 47%)
CMYKcmyk(66.9%, 0%, 35.5%, 52.5%)
CIE-LABlab(45.19, -35.10, 16.60)
CIE-LCHlch(45.19, 38.83, 154.69°)
OKLaboklab(51.53% -0.0953 0.0418)
OKLCHoklch(51.53% 0.104 156.3)
XYZxyz(9.0868, 14.6750, 9.5599)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28794E #792853
analogous
#2B7928 #28794E #287977
triadic
#28794E #4E2879 #794E28
tetradic
#28794E #282B79 #792853 #797728
square
#28794E #282B79 #792853 #797728
split-complementary
#28794E #772879 #79282B
monochromatic
#0A1D13 #194B30 #28794E #37A76C #55C78A

Accessibility & contrast

On white

5.34
#28794E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#28794E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28794E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28794E#FFFFFF#000000##FFFFFF
##28794E1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4B
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #28794e;
/* rgb */ color: rgb(40, 121, 78);
/* oklch */ color: oklch(51.5% 0.104 156.3);
Tailwind
colors: {
  custom: {
    50: '#6ca080',
    500: '#28794e',
    950: '#000000',
  },
}
SCSS
$custom: #28794e;
$custom-light: #6ca080;
$custom-dark: #000000;
JSON
{
  "hex": "#28794e",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 78
  },
  "hsl": {
    "h": 148.148,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.10405,
    "h": 156.3
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#28794E
secondary
#AB5281
accent
#4E98DA
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #28794E

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

Preview Lab → · Contrast checker → · Palette generator →

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