#28622A#28622A

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

Color values

HEX#28622A
RGBrgb(40, 98, 42)
HSLhsl(122, 42%, 27%)
HSVhsv(122, 59%, 38%)
CMYKcmyk(59.2%, 0%, 57.1%, 61.6%)
CIE-LABlab(36.66, -31.71, 26.02)
CIE-LCHlch(36.66, 41.02, 140.62°)
OKLaboklab(44.32% -0.0861 0.0623)
OKLCHoklch(44.32% 0.106 144.1)
XYZxyz(5.6604, 9.3532, 3.6971)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28622A #622860
analogous
#436228 #28622A #286247
triadic
#28622A #2A2862 #622A28
tetradic
#28622A #284362 #622860 #624728
square
#28622A #284362 #622860 #624728
split-complementary
#28622A #472862 #622843
monochromatic
#091609 #163717 #28622A #3A8D3D #4EB751

Accessibility & contrast

On white

7.32
#28622A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28622A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28622A#FFFFFF#000000##FFFFFF
##28622A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645925
Deuteranopia (green-blind)
#5C542E
Tritanopia (blue-blind)
#1E5F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28622a;
/* rgb */ color: rgb(40, 98, 42);
/* oklch */ color: oklch(44.3% 0.106 144.1);
Tailwind
colors: {
  custom: {
    50: '#688f65',
    500: '#28622a',
    950: '#000000',
  },
}
SCSS
$custom: #28622a;
$custom-light: #688f65;
$custom-dark: #000000;
JSON
{
  "hex": "#28622a",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 42
  },
  "hsl": {
    "h": 122.069,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.10624,
    "h": 144.1
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#28622A
secondary
#955192
accent
#56CED2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #28622A

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

Preview Lab → · Contrast checker → · Palette generator →

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