#28541A#28541A

#28541A is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.100 H 139.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#28541A
RGBrgb(40, 84, 26)
HSLhsl(106, 53%, 22%)
HSVhsv(106, 69%, 33%)
CMYKcmyk(52.4%, 0%, 69%, 67.1%)
CIE-LABlab(31.50, -27.53, 28.44)
CIE-LCHlch(31.50, 39.58, 134.07°)
OKLaboklab(40.03% -0.0757 0.0659)
OKLCHoklch(40.03% 0.1 139)
XYZxyz(4.2317, 6.8661, 2.0794)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28541A #461A54
analogous
#45541A #28541A #1A5429
triadic
#28541A #1A2854 #541A28
tetradic
#28541A #1A4554 #461A54 #54291A
square
#28541A #1A4554 #461A54 #54291A
split-complementary
#28541A #291A54 #541A45
monochromatic
#0B1707 #12250C #28541A #3E8328 #55B137

Accessibility & contrast

On white

8.85
#28541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#28541A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28541A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28541A#FFFFFF#000000##FFFFFF
##28541A1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C13
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#245148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28541a;
/* rgb */ color: rgb(40, 84, 26);
/* oklch */ color: oklch(40.0% 0.100 139.0);
Tailwind
colors: {
  custom: {
    50: '#668459',
    500: '#28541a',
    950: '#000000',
  },
}
SCSS
$custom: #28541a;
$custom-light: #668459;
$custom-dark: #000000;
JSON
{
  "hex": "#28541a",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 105.517,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.10037,
    "h": 139
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#28541A
secondary
#78408A
accent
#4CDCB9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28541A

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

Preview Lab → · Contrast checker → · Palette generator →

#28541A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva