#28591B#28591B

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

Color values

HEX#28591B
RGBrgb(40, 89, 27)
HSLhsl(107, 53%, 23%)
HSVhsv(107, 70%, 35%)
CMYKcmyk(55.1%, 0%, 69.7%, 65.1%)
CIE-LABlab(33.30, -29.68, 29.92)
CIE-LCHlch(33.30, 42.14, 134.77°)
OKLaboklab(41.5% -0.0815 0.0692)
OKLCHoklch(41.5% 0.107 139.7)
XYZxyz(4.6451, 7.6747, 2.2733)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28591B #4C1B59
analogous
#47591B #28591B #1B592D
triadic
#28591B #1B2859 #591B28
tetradic
#28591B #1B4759 #4C1B59 #592D1B
square
#28591B #1B4759 #4C1B59 #592D1B
split-complementary
#28591B #2D1B59 #591B47
monochromatic
#0B1707 #132A0D #28591B #3D8829 #52B737

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28591B#FFFFFF#000000##FFFFFF
##28591B1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28591b;
/* rgb */ color: rgb(40, 89, 27);
/* oklch */ color: oklch(41.5% 0.107 139.7);
Tailwind
colors: {
  custom: {
    50: '#67885a',
    500: '#28591b',
    950: '#000000',
  },
}
SCSS
$custom: #28591b;
$custom-light: #67885a;
$custom-dark: #000000;
JSON
{
  "hex": "#28591b",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 107.419,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41503,
    "c": 0.10687,
    "h": 139.7
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#28591B
secondary
#7E418F
accent
#4BDDBE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28591B

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

Preview Lab → · Contrast checker → · Palette generator →

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