#28501D#28501D

#28501D is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.091 H 139.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#28501D
RGBrgb(40, 80, 29)
HSLhsl(107, 47%, 21%)
HSVhsv(107, 64%, 31%)
CMYKcmyk(50%, 0%, 63.7%, 68.6%)
CIE-LABlab(30.10, -25.29, 25.30)
CIE-LCHlch(30.10, 35.78, 134.99°)
OKLaboklab(38.89% -0.0694 0.0596)
OKLCHoklch(38.89% 0.091 139.4)
XYZxyz(3.9654, 6.2769, 2.1648)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28501D #451D50
analogous
#42501D #28501D #1D502C
triadic
#28501D #1D2850 #501D28
tetradic
#28501D #1D4250 #451D50 #502C1D
square
#28501D #1D4250 #451D50 #502C1D
split-complementary
#28501D #2C1D50 #501D42
monochromatic
#0B1608 #12230D #28501D #3E7D2D #55AA3E

Accessibility & contrast

On white

9.31
#28501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#28501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28501D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28501D#FFFFFF#000000##FFFFFF
##28501D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524918
Deuteranopia (green-blind)
#4D4621
Tritanopia (blue-blind)
#254D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28501d;
/* rgb */ color: rgb(40, 80, 29);
/* oklch */ color: oklch(38.9% 0.091 139.4);
Tailwind
colors: {
  custom: {
    50: '#66815b',
    500: '#28501d',
    950: '#000000',
  },
}
SCSS
$custom: #28501d;
$custom-light: #66815b;
$custom-dark: #000000;
JSON
{
  "hex": "#28501d",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 107.059,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38888,
    "c": 0.09146,
    "h": 139.4
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#28501D
secondary
#774485
accent
#51D6BA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #28501D

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

Preview Lab → · Contrast checker → · Palette generator →

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