#28561F#28561F

#28561F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.099 H 140.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#28561F
RGBrgb(40, 86, 31)
HSLhsl(110, 47%, 23%)
HSVhsv(110, 64%, 34%)
CMYKcmyk(53.5%, 0%, 64%, 66.3%)
CIE-LABlab(32.27, -27.85, 26.74)
CIE-LCHlch(32.27, 38.61, 136.16°)
OKLaboklab(40.67% -0.0762 0.0629)
OKLCHoklch(40.67% 0.099 140.5)
XYZxyz(4.4500, 7.2053, 2.4523)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28561F #4D1F56
analogous
#43561F #28561F #1F5631
triadic
#28561F #1F2856 #561F28
tetradic
#28561F #1F4356 #4D1F56 #56311F
square
#28561F #1F4356 #4D1F56 #56311F
split-complementary
#28561F #311F56 #561F43
monochromatic
#0A1608 #13290F #28561F #3D832F #52B03F

Accessibility & contrast

On white

8.60
#28561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28561F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28561F#FFFFFF#000000##FFFFFF
##28561F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E19
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#23534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28561f;
/* rgb */ color: rgb(40, 86, 31);
/* oklch */ color: oklch(40.7% 0.099 140.5);
Tailwind
colors: {
  custom: {
    50: '#66865d',
    500: '#28561f',
    950: '#000000',
  },
}
SCSS
$custom: #28561f;
$custom-light: #66865d;
$custom-dark: #000000;
JSON
{
  "hex": "#28561f",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 110.182,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40674,
    "c": 0.0988,
    "h": 140.5
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#28561F
secondary
#80468B
accent
#51D7C1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28561F

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

Preview Lab → · Contrast checker → · Palette generator →

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