#28622C#28622C

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

Color values

HEX#28622C
RGBrgb(40, 98, 44)
HSLhsl(124, 42%, 27%)
HSVhsv(124, 59%, 38%)
CMYKcmyk(59.2%, 0%, 55.1%, 61.6%)
CIE-LABlab(36.68, -31.41, 24.96)
CIE-LCHlch(36.68, 40.12, 141.52°)
OKLaboklab(44.36% -0.0852 0.0601)
OKLCHoklch(44.36% 0.104 144.8)
XYZxyz(5.6970, 9.3678, 3.8903)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28622C #62285E
analogous
#416228 #28622C #286249
triadic
#28622C #2C2862 #622C28
tetradic
#28622C #284162 #62285E #624928
square
#28622C #284162 #62285E #624928
split-complementary
#28622C #492862 #622841
monochromatic
#09160A #163718 #28622C #3A8D40 #4EB755

Accessibility & contrast

On white

7.31
#28622C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#28622C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28622C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28622C#FFFFFF#000000##FFFFFF
##28622C1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645927
Deuteranopia (green-blind)
#5C5430
Tritanopia (blue-blind)
#1E6056
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28622c;
/* rgb */ color: rgb(40, 98, 44);
/* oklch */ color: oklch(44.4% 0.104 144.8);
Tailwind
colors: {
  custom: {
    50: '#688f66',
    500: '#28622c',
    950: '#000000',
  },
}
SCSS
$custom: #28622c;
$custom-light: #688f66;
$custom-dark: #000000;
JSON
{
  "hex": "#28622c",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 44
  },
  "hsl": {
    "h": 124.138,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44355,
    "c": 0.10423,
    "h": 144.8
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#28622C
secondary
#955190
accent
#56C9D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #28622C

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

Preview Lab → · Contrast checker → · Palette generator →

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