#28581A#28581A

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

Color values

HEX#28581A
RGBrgb(40, 88, 26)
HSLhsl(106, 54%, 22%)
HSVhsv(106, 70%, 35%)
CMYKcmyk(54.5%, 0%, 70.5%, 65.5%)
CIE-LABlab(32.93, -29.34, 30.01)
CIE-LCHlch(32.93, 41.97, 134.36°)
OKLaboklab(41.2% -0.0806 0.0692)
OKLCHoklch(41.2% 0.106 139.4)
XYZxyz(4.5511, 7.5048, 2.1858)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28581A #4A1A58
analogous
#47581A #28581A #1A582B
triadic
#28581A #1A2858 #581A28
tetradic
#28581A #1A4758 #4A1A58 #582B1A
square
#28581A #1A4758 #4A1A58 #582B1A
split-complementary
#28581A #2B1A58 #581A47
monochromatic
#0B1807 #13290C #28581A #3D8728 #53B636

Accessibility & contrast

On white

8.40
#28581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28581A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28581A#FFFFFF#000000##FFFFFF
##28581A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5012
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#24554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28581a;
/* rgb */ color: rgb(40, 88, 26);
/* oklch */ color: oklch(41.2% 0.106 139.4);
Tailwind
colors: {
  custom: {
    50: '#67875a',
    500: '#28581a',
    950: '#000000',
  },
}
SCSS
$custom: #28581a;
$custom-light: #67875a;
$custom-dark: #000000;
JSON
{
  "hex": "#28581a",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 106.452,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.10627,
    "h": 139.4
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#28581A
secondary
#7C408E
accent
#4ADEBC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28581A

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

Preview Lab → · Contrast checker → · Palette generator →

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