#28531E#28531E

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

Color values

HEX#28531E
RGBrgb(40, 83, 30)
HSLhsl(109, 47%, 22%)
HSVhsv(109, 64%, 33%)
CMYKcmyk(51.8%, 0%, 63.9%, 67.5%)
CIE-LABlab(31.19, -26.59, 26.02)
CIE-LCHlch(31.19, 37.20, 135.61°)
OKLaboklab(39.78% -0.0729 0.0612)
OKLCHoklch(39.78% 0.095 140)
XYZxyz(4.2025, 6.7311, 2.3058)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28531E #491E53
analogous
#43531E #28531E #1E532E
triadic
#28531E #1E2853 #531E28
tetradic
#28531E #1E4353 #491E53 #532E1E
square
#28531E #1E4353 #491E53 #532E1E
split-complementary
#28531E #2E1E53 #531E43
monochromatic
#0B1608 #12260E #28531E #3E802E #53AD3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28531E#FFFFFF#000000##FFFFFF
##28531E1.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)
#554C18
Deuteranopia (green-blind)
#504822
Tritanopia (blue-blind)
#245047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28531e;
/* rgb */ color: rgb(40, 83, 30);
/* oklch */ color: oklch(39.8% 0.095 140.0);
Tailwind
colors: {
  custom: {
    50: '#66845c',
    500: '#28531e',
    950: '#000000',
  },
}
SCSS
$custom: #28531e;
$custom-light: #66845c;
$custom-dark: #000000;
JSON
{
  "hex": "#28531e",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 30
  },
  "hsl": {
    "h": 108.679,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39782,
    "c": 0.09515,
    "h": 140
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#28531E
secondary
#7B4588
accent
#51D7BD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28531E

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

Preview Lab → · Contrast checker → · Palette generator →

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