#28522D#28522D

#28522D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.077 H 146.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#28522D
RGBrgb(40, 82, 45)
HSLhsl(127, 34%, 24%)
HSVhsv(127, 51%, 32%)
CMYKcmyk(51.2%, 0%, 45.1%, 67.8%)
CIE-LABlab(31.06, -23.76, 17.29)
CIE-LCHlch(31.06, 29.39, 143.95°)
OKLaboklab(39.75% -0.0645 0.0427)
OKLCHoklch(39.75% 0.077 146.5)
XYZxyz(4.3658, 6.6749, 3.5404)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28522D #52284D
analogous
#385228 #28522D #285242
triadic
#28522D #2D2852 #522D28
tetradic
#28522D #283852 #52284D #524228
square
#28522D #283852 #52284D #524228
split-complementary
#28522D #422852 #522838
monochromatic
#0A150B #142916 #28522D #3C7B44 #50A45A

Accessibility & contrast

On white

8.99
#28522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#28522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28522D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28522D#FFFFFF#000000##FFFFFF
##28522D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2A
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#215049
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28522d;
/* rgb */ color: rgb(40, 82, 45);
/* oklch */ color: oklch(39.7% 0.077 146.5);
Tailwind
colors: {
  custom: {
    50: '#658366',
    500: '#28522d',
    950: '#000000',
  },
}
SCSS
$custom: #28522d;
$custom-light: #658366;
$custom-dark: #000000;
JSON
{
  "hex": "#28522d",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 127.143,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39747,
    "c": 0.0774,
    "h": 146.5
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#28522D
secondary
#85517F
accent
#5DBECB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #28522D

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

Preview Lab → · Contrast checker → · Palette generator →

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