#28501E#28501E

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

Color values

HEX#28501E
RGBrgb(40, 80, 30)
HSLhsl(108, 45%, 22%)
HSVhsv(108, 63%, 31%)
CMYKcmyk(50%, 0%, 62.5%, 68.6%)
CIE-LABlab(30.11, -25.17, 24.78)
CIE-LCHlch(30.11, 35.32, 135.45°)
OKLaboklab(38.9% -0.069 0.0585)
OKLCHoklch(38.9% 0.09 139.7)
XYZxyz(3.9779, 6.2819, 2.2310)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28501E #461E50
analogous
#41501E #28501E #1E502D
triadic
#28501E #1E2850 #501E28
tetradic
#28501E #1E4150 #461E50 #502D1E
square
#28501E #1E4150 #461E50 #502D1E
split-complementary
#28501E #2D1E50 #501E41
monochromatic
#0B1608 #12230D #28501E #3E7D2F #55A93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28501E#FFFFFF#000000##FFFFFF
##28501E1.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)
#524919
Deuteranopia (green-blind)
#4D4622
Tritanopia (blue-blind)
#254D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28501e;
/* rgb */ color: rgb(40, 80, 30);
/* oklch */ color: oklch(38.9% 0.090 139.7);
Tailwind
colors: {
  custom: {
    50: '#66815b',
    500: '#28501e',
    950: '#000000',
  },
}
SCSS
$custom: #28501e;
$custom-light: #66815b;
$custom-dark: #000000;
JSON
{
  "hex": "#28501e",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 108,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38902,
    "c": 0.09046,
    "h": 139.7
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#28501E
secondary
#784585
accent
#53D5BB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #28501E

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

Preview Lab → · Contrast checker → · Palette generator →

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