#28622B#28622B

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

Color values

HEX#28622B
RGBrgb(40, 98, 43)
HSLhsl(123, 42%, 27%)
HSVhsv(123, 59%, 38%)
CMYKcmyk(59.2%, 0%, 56.1%, 61.6%)
CIE-LABlab(36.67, -31.56, 25.49)
CIE-LCHlch(36.67, 40.57, 141.07°)
OKLaboklab(44.34% -0.0856 0.0612)
OKLCHoklch(44.34% 0.105 144.5)
XYZxyz(5.6785, 9.3604, 3.7925)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28622B #62285F
analogous
#426228 #28622B #286248
triadic
#28622B #2B2862 #622B28
tetradic
#28622B #284262 #62285F #624828
square
#28622B #284262 #62285F #624828
split-complementary
#28622B #482862 #622842
monochromatic
#09160A #163718 #28622B #3A8D3E #4EB753

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28622B#FFFFFF#000000##FFFFFF
##28622B1.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)
#645926
Deuteranopia (green-blind)
#5C542F
Tritanopia (blue-blind)
#1E5F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28622b;
/* rgb */ color: rgb(40, 98, 43);
/* oklch */ color: oklch(44.3% 0.105 144.5);
Tailwind
colors: {
  custom: {
    50: '#688f66',
    500: '#28622b',
    950: '#000000',
  },
}
SCSS
$custom: #28622b;
$custom-light: #688f66;
$custom-dark: #000000;
JSON
{
  "hex": "#28622b",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 43
  },
  "hsl": {
    "h": 123.103,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44339,
    "c": 0.10524,
    "h": 144.5
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#28622B
secondary
#955191
accent
#56CBD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #28622B

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

Preview Lab → · Contrast checker → · Palette generator →

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