#28581E#28581E

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

Color values

HEX#28581E
RGBrgb(40, 88, 30)
HSLhsl(110, 49%, 23%)
HSVhsv(110, 66%, 35%)
CMYKcmyk(54.5%, 0%, 65.9%, 65.5%)
CIE-LABlab(32.97, -28.89, 28.06)
CIE-LCHlch(32.97, 40.27, 135.83°)
OKLaboklab(41.25% -0.0791 0.0656)
OKLCHoklch(41.25% 0.103 140.3)
XYZxyz(4.5989, 7.5240, 2.4380)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28581E #4E1E58
analogous
#45581E #28581E #1E5831
triadic
#28581E #1E2858 #581E28
tetradic
#28581E #1E4558 #4E1E58 #58311E
square
#28581E #1E4558 #4E1E58 #58311E
split-complementary
#28581E #311E58 #581E45
monochromatic
#0A1708 #132A0E #28581E #3D862E #51B33D

Accessibility & contrast

On white

8.38
#28581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28581E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28581E#FFFFFF#000000##FFFFFF
##28581E1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5018
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#23554C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #28581e;
/* rgb */ color: rgb(40, 88, 30);
/* oklch */ color: oklch(41.2% 0.103 140.3);
Tailwind
colors: {
  custom: {
    50: '#67875c',
    500: '#28581e',
    950: '#000000',
  },
}
SCSS
$custom: #28581e;
$custom-light: #67875c;
$custom-dark: #000000;
JSON
{
  "hex": "#28581e",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 109.655,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.10276,
    "h": 140.3
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#28581E
secondary
#81458D
accent
#4FD9C1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28581E

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

Preview Lab → · Contrast checker → · Palette generator →

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