#28561C#28561C

#28561C is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.102 H 139.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#28561C
RGBrgb(40, 86, 28)
HSLhsl(108, 51%, 22%)
HSVhsv(108, 67%, 34%)
CMYKcmyk(53.5%, 0%, 67.4%, 66.3%)
CIE-LABlab(32.24, -28.21, 28.25)
CIE-LCHlch(32.24, 39.93, 134.96°)
OKLaboklab(40.64% -0.0774 0.0658)
OKLCHoklch(40.64% 0.102 139.7)
XYZxyz(4.4123, 7.1902, 2.2537)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28561C #4A1C56
analogous
#45561C #28561C #1C562D
triadic
#28561C #1C2856 #561C28
tetradic
#28561C #1C4556 #4A1C56 #562D1C
square
#28561C #1C4556 #4A1C56 #562D1C
split-complementary
#28561C #2D1C56 #561C45
monochromatic
#0B1708 #13280D #28561C #3D842B #53B23A

Accessibility & contrast

On white

8.61
#28561C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#28561C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28561C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28561C#FFFFFF#000000##FFFFFF
##28561C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E15
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#24534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28561c;
/* rgb */ color: rgb(40, 86, 28);
/* oklch */ color: oklch(40.6% 0.102 139.7);
Tailwind
colors: {
  custom: {
    50: '#67865b',
    500: '#28561c',
    950: '#000000',
  },
}
SCSS
$custom: #28561c;
$custom-light: #67865b;
$custom-dark: #000000;
JSON
{
  "hex": "#28561c",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 28
  },
  "hsl": {
    "h": 107.586,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.10158,
    "h": 139.7
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#28561C
secondary
#7C428C
accent
#4DDABD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28561C

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

Preview Lab → · Contrast checker → · Palette generator →

#28561C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva