#28754E#28754E

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

Color values

HEX#28754E
RGBrgb(40, 117, 78)
HSLhsl(150, 49%, 31%)
HSVhsv(150, 66%, 46%)
CMYKcmyk(65.8%, 0%, 33.3%, 54.1%)
CIE-LABlab(43.83, -33.34, 14.76)
CIE-LCHlch(43.83, 36.46, 156.11°)
OKLaboklab(50.42% -0.0907 0.0373)
OKLCHoklch(50.42% 0.098 157.6)
XYZxyz(8.6107, 13.7229, 9.4012)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28754E #75284F
analogous
#287528 #28754E #287574
triadic
#28754E #4E2875 #754E28
tetradic
#28754E #282875 #75284F #757428
square
#28754E #282875 #75284F #757428
split-complementary
#28754E #742875 #752828
monochromatic
#091A11 #184730 #28754E #38A36C #53C48B

Accessibility & contrast

On white

5.61
#28754E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28754E
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28754E#FFFFFF#000000##FFFFFF
##28754E1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746C4C
Deuteranopia (green-blind)
#6A6550
Tritanopia (blue-blind)
#00746B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #28754e;
/* rgb */ color: rgb(40, 117, 78);
/* oklch */ color: oklch(50.4% 0.098 157.6);
Tailwind
colors: {
  custom: {
    50: '#6b9d7f',
    500: '#28754e',
    950: '#000000',
  },
}
SCSS
$custom: #28754e;
$custom-light: #6b9d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28754e",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 78
  },
  "hsl": {
    "h": 149.61,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50423,
    "c": 0.09811,
    "h": 157.6
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#28754E
secondary
#A7527D
accent
#4F95D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28754E

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

Preview Lab → · Contrast checker → · Palette generator →

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