#28552E#28552E

#28552E is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.6% C 0.081 H 146.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#28552E
RGBrgb(40, 85, 46)
HSLhsl(128, 36%, 25%)
HSVhsv(128, 53%, 33%)
CMYKcmyk(52.9%, 0%, 45.9%, 66.7%)
CIE-LABlab(32.13, -25.05, 18.09)
CIE-LCHlch(32.13, 30.90, 144.16°)
OKLaboklab(40.64% -0.068 0.0446)
OKLCHoklch(40.64% 0.081 146.7)
XYZxyz(4.6164, 7.1450, 3.7201)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28552E #55284F
analogous
#395528 #28552E #285545
triadic
#28552E #2E2855 #552E28
tetradic
#28552E #283955 #55284F #554528
square
#28552E #283955 #55284F #554528
split-complementary
#28552E #452855 #552839
monochromatic
#0A150B #142B17 #28552E #3C7F45 #4FA85B

Accessibility & contrast

On white

8.65
#28552E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#28552E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28552E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28552E#FFFFFF#000000##FFFFFF
##28552E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2B
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#20534B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28552e;
/* rgb */ color: rgb(40, 85, 46);
/* oklch */ color: oklch(40.6% 0.081 146.7);
Tailwind
colors: {
  custom: {
    50: '#668567',
    500: '#28552e',
    950: '#000000',
  },
}
SCSS
$custom: #28552e;
$custom-light: #668567;
$custom-dark: #000000;
JSON
{
  "hex": "#28552e",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 46
  },
  "hsl": {
    "h": 128,
    "s": 36,
    "l": 24.51
  },
  "oklch": {
    "l": 0.40635,
    "c": 0.08133,
    "h": 146.7
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#28552E
secondary
#885180
accent
#5CBDCC
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #28552E

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

Preview Lab → · Contrast checker → · Palette generator →

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