#28591A#28591A

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

Color values

HEX#28591A
RGBrgb(40, 89, 26)
HSLhsl(107, 55%, 23%)
HSVhsv(107, 71%, 35%)
CMYKcmyk(55.1%, 0%, 70.8%, 65.1%)
CIE-LABlab(33.29, -29.78, 30.39)
CIE-LCHlch(33.29, 42.55, 134.42°)
OKLaboklab(41.49% -0.0818 0.07)
OKLCHoklch(41.49% 0.108 139.4)
XYZxyz(4.6337, 7.6701, 2.2134)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28591A #4B1A59
analogous
#47591A #28591A #1A592C
triadic
#28591A #1A2859 #591A28
tetradic
#28591A #1A4759 #4B1A59 #592C1A
square
#28591A #1A4759 #4B1A59 #592C1A
split-complementary
#28591A #2C1A59 #591A47
monochromatic
#0B1807 #132A0C #28591A #3D8828 #53B836

Accessibility & contrast

On white

8.29
#28591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#28591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28591A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28591A#FFFFFF#000000##FFFFFF
##28591A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28591a;
/* rgb */ color: rgb(40, 89, 26);
/* oklch */ color: oklch(41.5% 0.108 139.4);
Tailwind
colors: {
  custom: {
    50: '#67885a',
    500: '#28591a',
    950: '#000000',
  },
}
SCSS
$custom: #28591a;
$custom-light: #67885a;
$custom-dark: #000000;
JSON
{
  "hex": "#28591a",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 106.667,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41492,
    "c": 0.10771,
    "h": 139.4
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#28591A
secondary
#7D408F
accent
#4ADEBD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28591A

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

Preview Lab → · Contrast checker → · Palette generator →

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