#28794F#28794F

#28794F is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.6% C 0.103 H 156.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#28794F
RGBrgb(40, 121, 79)
HSLhsl(149, 50%, 32%)
HSVhsv(149, 67%, 47%)
CMYKcmyk(66.9%, 0%, 34.7%, 52.5%)
CIE-LABlab(45.21, -34.89, 16.05)
CIE-LCHlch(45.21, 38.40, 155.30°)
OKLaboklab(51.56% -0.0948 0.0405)
OKLCHoklch(51.56% 0.103 156.9)
XYZxyz(9.1229, 14.6894, 9.7502)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28794F #792852
analogous
#297928 #28794F #287978
triadic
#28794F #4F2879 #794F28
tetradic
#28794F #282979 #792852 #797828
square
#28794F #282979 #792852 #797828
split-complementary
#28794F #782879 #792829
monochromatic
#0A1D13 #194B31 #28794F #37A76D #55C78C

Accessibility & contrast

On white

5.33
#28794F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28794F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28794F#FFFFFF#000000##FFFFFF
##28794F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78704C
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #28794f;
/* rgb */ color: rgb(40, 121, 79);
/* oklch */ color: oklch(51.6% 0.103 156.9);
Tailwind
colors: {
  custom: {
    50: '#6ca080',
    500: '#28794f',
    950: '#000000',
  },
}
SCSS
$custom: #28794f;
$custom-light: #6ca080;
$custom-dark: #000000;
JSON
{
  "hex": "#28794f",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 148.889,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.10305,
    "h": 156.9
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#28794F
secondary
#AB5280
accent
#4E96DA
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #28794F

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

Preview Lab → · Contrast checker → · Palette generator →

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