#28542E#28542E

#28542E is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.080 H 146.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#28542E
RGBrgb(40, 84, 46)
HSLhsl(128, 35%, 24%)
HSVhsv(128, 52%, 33%)
CMYKcmyk(52.4%, 0%, 45.2%, 67.1%)
CIE-LABlab(31.78, -24.56, 17.64)
CIE-LCHlch(31.78, 30.24, 144.32°)
OKLaboklab(40.35% -0.0667 0.0435)
OKLCHoklch(40.35% 0.08 146.9)
XYZxyz(4.5383, 6.9887, 3.6940)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28542E #54284E
analogous
#385428 #28542E #285444
triadic
#28542E #2E2854 #542E28
tetradic
#28542E #283854 #54284E #544428
square
#28542E #283854 #54284E #544428
split-complementary
#28542E #442854 #542838
monochromatic
#0A150B #142B17 #28542E #3C7D45 #4FA75B

Accessibility & contrast

On white

8.76
#28542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#28542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28542E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28542E#FFFFFF#000000##FFFFFF
##28542E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#21524B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28542e;
/* rgb */ color: rgb(40, 84, 46);
/* oklch */ color: oklch(40.3% 0.080 146.9);
Tailwind
colors: {
  custom: {
    50: '#658467',
    500: '#28542e',
    950: '#000000',
  },
}
SCSS
$custom: #28542e;
$custom-light: #658467;
$custom-dark: #000000;
JSON
{
  "hex": "#28542e",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 128.182,
    "s": 35.484,
    "l": 24.314
  },
  "oklch": {
    "l": 0.40346,
    "c": 0.07965,
    "h": 146.9
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#28542E
secondary
#87517F
accent
#5CBCCC
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #28542E

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

Preview Lab → · Contrast checker → · Palette generator →

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