#28531D#28531D

#28531D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.096 H 139.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#28531D
RGBrgb(40, 83, 29)
HSLhsl(108, 48%, 22%)
HSVhsv(108, 65%, 33%)
CMYKcmyk(51.8%, 0%, 65.1%, 67.5%)
CIE-LABlab(31.17, -26.71, 26.54)
CIE-LCHlch(31.17, 37.65, 135.19°)
OKLaboklab(39.77% -0.0733 0.0622)
OKLCHoklch(39.77% 0.096 139.7)
XYZxyz(4.1899, 6.7260, 2.2396)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28531D #481D53
analogous
#43531D #28531D #1D532D
triadic
#28531D #1D2853 #531D28
tetradic
#28531D #1D4353 #481D53 #532D1D
square
#28531D #1D4353 #481D53 #532D1D
split-complementary
#28531D #2D1D53 #531D43
monochromatic
#0B1708 #12260D #28531D #3E802D #54AE3D

Accessibility & contrast

On white

8.95
#28531D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#28531D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28531D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28531D#FFFFFF#000000##FFFFFF
##28531D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C17
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#245047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28531d;
/* rgb */ color: rgb(40, 83, 29);
/* oklch */ color: oklch(39.8% 0.096 139.7);
Tailwind
colors: {
  custom: {
    50: '#66845b',
    500: '#28531d',
    950: '#000000',
  },
}
SCSS
$custom: #28531d;
$custom-light: #66845b;
$custom-dark: #000000;
JSON
{
  "hex": "#28531d",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 107.778,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.39768,
    "c": 0.09611,
    "h": 139.7
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#28531D
secondary
#7A4488
accent
#50D8BC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28531D

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

Preview Lab → · Contrast checker → · Palette generator →

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