#28541E#28541E

#28541E is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.1% C 0.097 H 140.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#28541E
RGBrgb(40, 84, 30)
HSLhsl(109, 47%, 22%)
HSVhsv(109, 64%, 33%)
CMYKcmyk(52.4%, 0%, 64.3%, 67.1%)
CIE-LABlab(31.54, -27.05, 26.43)
CIE-LCHlch(31.54, 37.82, 135.66°)
OKLaboklab(40.08% -0.0741 0.0621)
OKLCHoklch(40.08% 0.097 140.1)
XYZxyz(4.2796, 6.8852, 2.3315)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28541E #4A1E54
analogous
#43541E #28541E #1E542F
triadic
#28541E #1E2854 #541E28
tetradic
#28541E #1E4354 #4A1E54 #542F1E
square
#28541E #1E4354 #4A1E54 #542F1E
split-complementary
#28541E #2F1E54 #541E43
monochromatic
#0B1708 #13270E #28541E #3D812E #53AE3E

Accessibility & contrast

On white

8.83
#28541E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#28541E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28541E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28541E#FFFFFF#000000##FFFFFF
##28541E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D18
Deuteranopia (green-blind)
#504922
Tritanopia (blue-blind)
#245148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28541e;
/* rgb */ color: rgb(40, 84, 30);
/* oklch */ color: oklch(40.1% 0.097 140.1);
Tailwind
colors: {
  custom: {
    50: '#66845c',
    500: '#28541e',
    950: '#000000',
  },
}
SCSS
$custom: #28541e;
$custom-light: #66845c;
$custom-dark: #000000;
JSON
{
  "hex": "#28541e",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 108.889,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.0967,
    "h": 140.1
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#28541E
secondary
#7C4589
accent
#51D7BE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #28541E

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

Preview Lab → · Contrast checker → · Palette generator →

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