#28754A#28754A

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

Color values

HEX#28754A
RGBrgb(40, 117, 74)
HSLhsl(146, 49%, 31%)
HSVhsv(146, 66%, 46%)
CMYKcmyk(65.8%, 0%, 36.8%, 54.1%)
CIE-LABlab(43.75, -34.20, 16.98)
CIE-LCHlch(43.75, 38.19, 153.60°)
OKLaboklab(50.33% -0.0928 0.0427)
OKLCHoklch(50.33% 0.102 155.3)
XYZxyz(8.4717, 13.6672, 8.6688)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28754A #752853
analogous
#2C7528 #28754A #287570
triadic
#28754A #4A2875 #754A28
tetradic
#28754A #282C75 #752853 #757028
square
#28754A #282C75 #752853 #757028
split-complementary
#28754A #702875 #75282C
monochromatic
#091A10 #18472D #28754A #38A367 #53C485

Accessibility & contrast

On white

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

On black

3.73
#28754A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##28754A#FFFFFF#000000##FFFFFF
##28754A1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C47
Deuteranopia (green-blind)
#6A654D
Tritanopia (blue-blind)
#02746A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #28754a;
/* rgb */ color: rgb(40, 117, 74);
/* oklch */ color: oklch(50.3% 0.102 155.3);
Tailwind
colors: {
  custom: {
    50: '#6b9d7d',
    500: '#28754a',
    950: '#000000',
  },
}
SCSS
$custom: #28754a;
$custom-light: #6b9d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#28754a",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 74
  },
  "hsl": {
    "h": 146.494,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.1021,
    "h": 155.3
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#28754A
secondary
#A75281
accent
#4F9CD9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #28754A

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

Preview Lab → · Contrast checker → · Palette generator →

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