#28522E#28522E

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

Color values

HEX#28522E
RGBrgb(40, 82, 46)
HSLhsl(129, 34%, 24%)
HSVhsv(129, 51%, 32%)
CMYKcmyk(51.2%, 0%, 43.9%, 67.8%)
CIE-LABlab(31.07, -23.57, 16.71)
CIE-LCHlch(31.07, 28.89, 144.66°)
OKLaboklab(39.77% -0.064 0.0414)
OKLCHoklch(39.77% 0.076 147.1)
XYZxyz(4.3853, 6.6826, 3.6430)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28522E #52284C
analogous
#375228 #28522E #285243
triadic
#28522E #2E2852 #522E28
tetradic
#28522E #283752 #52284C #524328
square
#28522E #283752 #52284C #524328
split-complementary
#28522E #432852 #522837
monochromatic
#0A150C #142917 #28522E #3C7B45 #50A45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28522E#FFFFFF#000000##FFFFFF
##28522E1.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)
#534C2B
Deuteranopia (green-blind)
#4D4830
Tritanopia (blue-blind)
#215049
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28522e;
/* rgb */ color: rgb(40, 82, 46);
/* oklch */ color: oklch(39.8% 0.076 147.1);
Tailwind
colors: {
  custom: {
    50: '#658367',
    500: '#28522e',
    950: '#000000',
  },
}
SCSS
$custom: #28522e;
$custom-light: #658367;
$custom-dark: #000000;
JSON
{
  "hex": "#28522e",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 46
  },
  "hsl": {
    "h": 128.571,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39768,
    "c": 0.07626,
    "h": 147.1
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28522E

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

Preview Lab → · Contrast checker → · Palette generator →

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