#28532E#28532E

#28532E is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.1% C 0.078 H 147.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#28532E
RGBrgb(40, 83, 46)
HSLhsl(128, 35%, 24%)
HSVhsv(128, 52%, 33%)
CMYKcmyk(51.8%, 0%, 44.6%, 67.5%)
CIE-LABlab(31.43, -24.07, 17.18)
CIE-LCHlch(31.43, 29.57, 144.49°)
OKLaboklab(40.06% -0.0654 0.0425)
OKLCHoklch(40.06% 0.078 147)
XYZxyz(4.4612, 6.8346, 3.6684)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28532E #53284D
analogous
#385328 #28532E #285344
triadic
#28532E #2E2853 #532E28
tetradic
#28532E #283853 #53284D #534428
square
#28532E #283853 #53284D #534428
split-complementary
#28532E #442853 #532838
monochromatic
#0A150B #142A17 #28532E #3C7C45 #50A65C

Accessibility & contrast

On white

8.87
#28532E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#28532E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28532E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28532E#FFFFFF#000000##FFFFFF
##28532E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C2B
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#21514A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28532e;
/* rgb */ color: rgb(40, 83, 46);
/* oklch */ color: oklch(40.1% 0.078 147.0);
Tailwind
colors: {
  custom: {
    50: '#658467',
    500: '#28532e',
    950: '#000000',
  },
}
SCSS
$custom: #28532e;
$custom-light: #658467;
$custom-dark: #000000;
JSON
{
  "hex": "#28532e",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 46
  },
  "hsl": {
    "h": 128.372,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.07795,
    "h": 147
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#28532E
secondary
#86517E
accent
#5DBCCB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #28532E

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

Preview Lab → · Contrast checker → · Palette generator →

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