#28621B#28621B

#28621B is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.1% C 0.120 H 140.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#28621B
RGBrgb(40, 98, 27)
HSLhsl(109, 57%, 25%)
HSVhsv(109, 72%, 38%)
CMYKcmyk(59.2%, 0%, 72.4%, 61.6%)
CIE-LABlab(36.49, -33.56, 33.37)
CIE-LCHlch(36.49, 47.32, 135.16°)
OKLaboklab(44.13% -0.092 0.0764)
OKLCHoklch(44.13% 0.12 140.3)
XYZxyz(5.4403, 9.2652, 2.5384)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28621B #551B62
analogous
#4C621B #28621B #1B6232
triadic
#28621B #1B2862 #621B28
tetradic
#28621B #1B4C62 #551B62 #62321B
square
#28621B #1B4C62 #551B62 #62321B
split-complementary
#28621B #321B62 #621B4C
monochromatic
#0A1807 #14320E #28621B #3C9228 #4FC235

Accessibility & contrast

On white

7.36
#28621B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#28621B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28621B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28621B#FFFFFF#000000##FFFFFF
##28621B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655911
Deuteranopia (green-blind)
#5D5422
Tritanopia (blue-blind)
#215F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28621b;
/* rgb */ color: rgb(40, 98, 27);
/* oklch */ color: oklch(44.1% 0.120 140.3);
Tailwind
colors: {
  custom: {
    50: '#698f5b',
    500: '#28621b',
    950: '#000000',
  },
}
SCSS
$custom: #28621b;
$custom-light: #698f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#28621b",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 27
  },
  "hsl": {
    "h": 109.014,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44133,
    "c": 0.1196,
    "h": 140.3
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#28621B
secondary
#884198
accent
#48E0C4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #28621B

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

Preview Lab → · Contrast checker → · Palette generator →

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