#28622E#28622E

#28622E is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.102 H 145.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#28622E
RGBrgb(40, 98, 46)
HSLhsl(126, 42%, 27%)
HSVhsv(126, 59%, 38%)
CMYKcmyk(59.2%, 0%, 53.1%, 61.6%)
CIE-LABlab(36.71, -31.09, 23.88)
CIE-LCHlch(36.71, 39.20, 142.47°)
OKLaboklab(44.39% -0.0843 0.0578)
OKLCHoklch(44.39% 0.102 145.6)
XYZxyz(5.7356, 9.3832, 4.0931)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28622E #62285C
analogous
#3F6228 #28622E #28624B
triadic
#28622E #2E2862 #622E28
tetradic
#28622E #283F62 #62285C #624B28
square
#28622E #283F62 #62285C #624B28
split-complementary
#28622E #4B2862 #62283F
monochromatic
#09160A #16371A #28622E #3A8D42 #4EB759

Accessibility & contrast

On white

7.30
#28622E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#28622E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28622E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28622E#FFFFFF#000000##FFFFFF
##28622E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2A
Deuteranopia (green-blind)
#5C5432
Tritanopia (blue-blind)
#1D6056
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28622e;
/* rgb */ color: rgb(40, 98, 46);
/* oklch */ color: oklch(44.4% 0.102 145.6);
Tailwind
colors: {
  custom: {
    50: '#688f68',
    500: '#28622e',
    950: '#000000',
  },
}
SCSS
$custom: #28622e;
$custom-light: #688f68;
$custom-dark: #000000;
JSON
{
  "hex": "#28622e",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 46
  },
  "hsl": {
    "h": 126.207,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.10218,
    "h": 145.6
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#28622E
secondary
#95518E
accent
#56C5D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #28622E

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

Preview Lab → · Contrast checker → · Palette generator →

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