#28754D#28754D

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

Color values

HEX#28754D
RGBrgb(40, 117, 77)
HSLhsl(149, 49%, 31%)
HSVhsv(149, 66%, 46%)
CMYKcmyk(65.8%, 0%, 34.2%, 54.1%)
CIE-LABlab(43.81, -33.56, 15.32)
CIE-LCHlch(43.81, 36.89, 155.47°)
OKLaboklab(50.4% -0.0912 0.0387)
OKLCHoklch(50.4% 0.099 157)
XYZxyz(8.5751, 13.7086, 9.2139)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28754D #752850
analogous
#297528 #28754D #287573
triadic
#28754D #4D2875 #754D28
tetradic
#28754D #282975 #752850 #757328
square
#28754D #282975 #752850 #757328
split-complementary
#28754D #732875 #752829
monochromatic
#091A11 #18472F #28754D #38A36B #53C489

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28754D#FFFFFF#000000##FFFFFF
##28754D1.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)
#746C4B
Deuteranopia (green-blind)
#6A6550
Tritanopia (blue-blind)
#00746B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #28754d;
/* rgb */ color: rgb(40, 117, 77);
/* oklch */ color: oklch(50.4% 0.099 157.0);
Tailwind
colors: {
  custom: {
    50: '#6b9d7f',
    500: '#28754d',
    950: '#000000',
  },
}
SCSS
$custom: #28754d;
$custom-light: #6b9d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28754d",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 77
  },
  "hsl": {
    "h": 148.831,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.0991,
    "h": 157
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#28754D
secondary
#A7527E
accent
#4F97D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28754D

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

Preview Lab → · Contrast checker → · Palette generator →

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