#28754B#28754B

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

Color values

HEX#28754B
RGBrgb(40, 117, 75)
HSLhsl(147, 49%, 31%)
HSVhsv(147, 66%, 46%)
CMYKcmyk(65.8%, 0%, 35.9%, 54.1%)
CIE-LABlab(43.77, -33.99, 16.43)
CIE-LCHlch(43.77, 37.75, 154.21°)
OKLaboklab(50.35% -0.0923 0.0414)
OKLCHoklch(50.35% 0.101 155.9)
XYZxyz(8.5056, 13.6808, 8.8477)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28754B #752852
analogous
#2B7528 #28754B #287571
triadic
#28754B #4B2875 #754B28
tetradic
#28754B #282B75 #752852 #757128
square
#28754B #282B75 #752852 #757128
split-complementary
#28754B #712875 #75282B
monochromatic
#091A11 #18472E #28754B #38A368 #53C487

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28754B#FFFFFF#000000##FFFFFF
##28754B1.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)
#746C48
Deuteranopia (green-blind)
#6A654E
Tritanopia (blue-blind)
#01746A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #28754b;
/* rgb */ color: rgb(40, 117, 75);
/* oklch */ color: oklch(50.4% 0.101 155.9);
Tailwind
colors: {
  custom: {
    50: '#6b9d7d',
    500: '#28754b',
    950: '#000000',
  },
}
SCSS
$custom: #28754b;
$custom-light: #6b9d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#28754b",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 75
  },
  "hsl": {
    "h": 147.273,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.1011,
    "h": 155.9
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#28754B
secondary
#A75280
accent
#4F9AD9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #28754B

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

Preview Lab → · Contrast checker → · Palette generator →

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