#28552F#28552F

#28552F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.080 H 147.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#28552F
RGBrgb(40, 85, 47)
HSLhsl(129, 36%, 25%)
HSVhsv(129, 53%, 33%)
CMYKcmyk(52.9%, 0%, 44.7%, 66.7%)
CIE-LABlab(32.15, -24.86, 17.52)
CIE-LCHlch(32.15, 30.42, 144.83°)
OKLaboklab(40.66% -0.0675 0.0433)
OKLCHoklch(40.66% 0.08 147.3)
XYZxyz(4.6364, 7.1530, 3.8251)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28552F #55284E
analogous
#385528 #28552F #285546
triadic
#28552F #2F2855 #552F28
tetradic
#28552F #283855 #55284E #554628
square
#28552F #283855 #55284E #554628
split-complementary
#28552F #462855 #552838
monochromatic
#0A150C #142B18 #28552F #3C7F46 #4FA85D

Accessibility & contrast

On white

8.64
#28552F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28552F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28552F#FFFFFF#000000##FFFFFF
##28552F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2C
Deuteranopia (green-blind)
#504A31
Tritanopia (blue-blind)
#20534C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28552f;
/* rgb */ color: rgb(40, 85, 47);
/* oklch */ color: oklch(40.7% 0.080 147.3);
Tailwind
colors: {
  custom: {
    50: '#668568',
    500: '#28552f',
    950: '#000000',
  },
}
SCSS
$custom: #28552f;
$custom-light: #668568;
$custom-dark: #000000;
JSON
{
  "hex": "#28552f",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 47
  },
  "hsl": {
    "h": 129.333,
    "s": 36,
    "l": 24.51
  },
  "oklch": {
    "l": 0.40656,
    "c": 0.08021,
    "h": 147.3
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#28552F
secondary
#88517F
accent
#5CBBCC
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #28552F

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

Preview Lab → · Contrast checker → · Palette generator →

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