#28571D#28571D

#28571D is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.102 H 140.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#28571D
RGBrgb(40, 87, 29)
HSLhsl(109, 50%, 23%)
HSVhsv(109, 67%, 34%)
CMYKcmyk(54%, 0%, 66.7%, 65.9%)
CIE-LABlab(32.60, -28.55, 28.16)
CIE-LCHlch(32.60, 40.10, 135.40°)
OKLaboklab(40.94% -0.0783 0.0657)
OKLCHoklch(40.94% 0.102 140)
XYZxyz(4.5049, 7.3559, 2.3446)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28571D #4C1D57
analogous
#45571D #28571D #1D572F
triadic
#28571D #1D2857 #571D28
tetradic
#28571D #1D4557 #4C1D57 #572F1D
square
#28571D #1D4557 #4C1D57 #572F1D
split-complementary
#28571D #2F1D57 #571D45
monochromatic
#0B1708 #13290E #28571D #3D852C #52B33C

Accessibility & contrast

On white

8.50
#28571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#28571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28571D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28571D#FFFFFF#000000##FFFFFF
##28571D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#534B22
Tritanopia (blue-blind)
#23544B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28571d;
/* rgb */ color: rgb(40, 87, 29);
/* oklch */ color: oklch(40.9% 0.102 140.0);
Tailwind
colors: {
  custom: {
    50: '#67875b',
    500: '#28571d',
    950: '#000000',
  },
}
SCSS
$custom: #28571d;
$custom-light: #67875b;
$custom-dark: #000000;
JSON
{
  "hex": "#28571d",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 108.621,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.10217,
    "h": 140
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#28571D
secondary
#7E448C
accent
#4EDABF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28571D

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

Preview Lab → · Contrast checker → · Palette generator →

#28571D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva