#28581B#28581B

#28581B is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.105 H 139.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#28581B
RGBrgb(40, 88, 27)
HSLhsl(107, 53%, 23%)
HSVhsv(107, 69%, 35%)
CMYKcmyk(54.5%, 0%, 69.3%, 65.5%)
CIE-LABlab(32.94, -29.23, 29.53)
CIE-LCHlch(32.94, 41.55, 134.71°)
OKLaboklab(41.21% -0.0803 0.0683)
OKLCHoklch(41.21% 0.105 139.6)
XYZxyz(4.5624, 7.5094, 2.2457)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28581B #4B1B58
analogous
#46581B #28581B #1B582C
triadic
#28581B #1B2858 #581B28
tetradic
#28581B #1B4658 #4B1B58 #582C1B
square
#28581B #1B4658 #4B1B58 #582C1B
split-complementary
#28581B #2C1B58 #581B46
monochromatic
#0B1707 #13290D #28581B #3D8729 #53B638

Accessibility & contrast

On white

8.39
#28581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#28581B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28581B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28581B#FFFFFF#000000##FFFFFF
##28581B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5014
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#23554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28581b;
/* rgb */ color: rgb(40, 88, 27);
/* oklch */ color: oklch(41.2% 0.105 139.6);
Tailwind
colors: {
  custom: {
    50: '#67875a',
    500: '#28581b',
    950: '#000000',
  },
}
SCSS
$custom: #28581b;
$custom-light: #67875a;
$custom-dark: #000000;
JSON
{
  "hex": "#28581b",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 107.213,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.10542,
    "h": 139.6
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#28581B
secondary
#7D418E
accent
#4BDCBE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28581B

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

Preview Lab → · Contrast checker → · Palette generator →

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