#28622F#28622F

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

Color values

HEX#28622F
RGBrgb(40, 98, 47)
HSLhsl(127, 42%, 27%)
HSVhsv(127, 59%, 38%)
CMYKcmyk(59.2%, 0%, 52%, 61.6%)
CIE-LABlab(36.73, -30.93, 23.34)
CIE-LCHlch(36.73, 38.75, 142.96°)
OKLaboklab(44.41% -0.0838 0.0566)
OKLCHoklch(44.41% 0.101 146)
XYZxyz(5.7555, 9.3912, 4.1982)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28622F #62285B
analogous
#3E6228 #28622F #28624C
triadic
#28622F #2F2862 #622F28
tetradic
#28622F #283E62 #62285B #624C28
square
#28622F #283E62 #62285B #624C28
split-complementary
#28622F #4C2862 #62283E
monochromatic
#09160A #16371A #28622F #3A8D44 #4EB75A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28622F#FFFFFF#000000##FFFFFF
##28622F1.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)
#635A2B
Deuteranopia (green-blind)
#5C5433
Tritanopia (blue-blind)
#1D6056
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28622f;
/* rgb */ color: rgb(40, 98, 47);
/* oklch */ color: oklch(44.4% 0.101 146.0);
Tailwind
colors: {
  custom: {
    50: '#688f68',
    500: '#28622f',
    950: '#000000',
  },
}
SCSS
$custom: #28622f;
$custom-light: #688f68;
$custom-dark: #000000;
JSON
{
  "hex": "#28622f",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 47
  },
  "hsl": {
    "h": 127.241,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44405,
    "c": 0.10114,
    "h": 146
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#28622F
secondary
#95518D
accent
#56C3D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #28622F

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

Preview Lab → · Contrast checker → · Palette generator →

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