#28591C#28591C

#28591C is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.106 H 139.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#28591C
RGBrgb(40, 89, 28)
HSLhsl(108, 52%, 23%)
HSVhsv(108, 69%, 35%)
CMYKcmyk(55.1%, 0%, 68.5%, 65.1%)
CIE-LABlab(33.31, -29.57, 29.44)
CIE-LCHlch(33.31, 41.73, 135.12°)
OKLaboklab(41.52% -0.0811 0.0683)
OKLCHoklch(41.52% 0.106 139.9)
XYZxyz(4.6569, 7.6794, 2.3353)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28591C #4D1C59
analogous
#46591C #28591C #1C592E
triadic
#28591C #1C2859 #591C28
tetradic
#28591C #1C4659 #4D1C59 #592E1C
square
#28591C #1C4659 #4D1C59 #592E1C
split-complementary
#28591C #2E1C59 #591C46
monochromatic
#0A1707 #132A0D #28591C #3D882B #52B639

Accessibility & contrast

On white

8.28
#28591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#28591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28591C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28591C#FFFFFF#000000##FFFFFF
##28591C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5115
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#23564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #28591c;
/* rgb */ color: rgb(40, 89, 28);
/* oklch */ color: oklch(41.5% 0.106 139.9);
Tailwind
colors: {
  custom: {
    50: '#67885b',
    500: '#28591c',
    950: '#000000',
  },
}
SCSS
$custom: #28591c;
$custom-light: #67885b;
$custom-dark: #000000;
JSON
{
  "hex": "#28591c",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 108.197,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.10602,
    "h": 139.9
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#28591C
secondary
#80428F
accent
#4CDCBF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28591C

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

Preview Lab → · Contrast checker → · Palette generator →

#28591C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva