#28621E#28621E

#28621E is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.117 H 140.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#28621E
RGBrgb(40, 98, 30)
HSLhsl(111, 53%, 25%)
HSVhsv(111, 69%, 38%)
CMYKcmyk(59.2%, 0%, 69.4%, 61.6%)
CIE-LABlab(36.52, -33.25, 32.01)
CIE-LCHlch(36.52, 46.15, 136.09°)
OKLaboklab(44.17% -0.0909 0.074)
OKLCHoklch(44.17% 0.117 140.9)
XYZxyz(5.4768, 9.2798, 2.7306)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28621E #581E62
analogous
#4A621E #28621E #1E6236
triadic
#28621E #1E2862 #621E28
tetradic
#28621E #1E4A62 #581E62 #62361E
square
#28621E #1E4A62 #581E62 #62361E
split-complementary
#28621E #361E62 #621E4A
monochromatic
#0A1707 #153310 #28621E #3B912C #4EC03B

Accessibility & contrast

On white

7.35
#28621E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#28621E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28621E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28621E#FFFFFF#000000##FFFFFF
##28621E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655915
Deuteranopia (green-blind)
#5D5424
Tritanopia (blue-blind)
#215F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28621e;
/* rgb */ color: rgb(40, 98, 30);
/* oklch */ color: oklch(44.2% 0.117 140.9);
Tailwind
colors: {
  custom: {
    50: '#698f5d',
    500: '#28621e',
    950: '#000000',
  },
}
SCSS
$custom: #28621e;
$custom-light: #698f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#28621e",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 30
  },
  "hsl": {
    "h": 111.176,
    "s": 53.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.44165,
    "c": 0.11721,
    "h": 140.9
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#28621E
secondary
#8B4597
accent
#4BDDC7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #28621E

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

Preview Lab → · Contrast checker → · Palette generator →

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