#28754C#28754C

#28754C is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.4% C 0.100 H 156.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#28754C
RGBrgb(40, 117, 76)
HSLhsl(148, 49%, 31%)
HSVhsv(148, 66%, 46%)
CMYKcmyk(65.8%, 0%, 35%, 54.1%)
CIE-LABlab(43.79, -33.78, 15.87)
CIE-LCHlch(43.79, 37.32, 154.83°)
OKLaboklab(50.38% -0.0917 0.04)
OKLCHoklch(50.38% 0.1 156.4)
XYZxyz(8.5401, 13.6946, 9.0293)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28754C #752851
analogous
#2A7528 #28754C #287572
triadic
#28754C #4C2875 #754C28
tetradic
#28754C #282A75 #752851 #757228
square
#28754C #282A75 #752851 #757228
split-complementary
#28754C #722875 #75282A
monochromatic
#091A11 #18472E #28754C #38A36A #53C488

Accessibility & contrast

On white

5.62
#28754C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#28754C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28754C
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28754C#FFFFFF#000000##FFFFFF
##28754C1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746C49
Deuteranopia (green-blind)
#6A654F
Tritanopia (blue-blind)
#00746A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #28754c;
/* rgb */ color: rgb(40, 117, 76);
/* oklch */ color: oklch(50.4% 0.100 156.4);
Tailwind
colors: {
  custom: {
    50: '#6b9d7e',
    500: '#28754c',
    950: '#000000',
  },
}
SCSS
$custom: #28754c;
$custom-light: #6b9d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#28754c",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 76
  },
  "hsl": {
    "h": 148.052,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.1001,
    "h": 156.4
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#28754C
secondary
#A7527F
accent
#4F98D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28754C

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

Preview Lab → · Contrast checker → · Palette generator →

#28754C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva