#28641C#28641C

#28641C is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.7% C 0.122 H 140.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#28641C
RGBrgb(40, 100, 28)
HSLhsl(110, 56%, 25%)
HSVhsv(110, 72%, 39%)
CMYKcmyk(60%, 0%, 72%, 60.8%)
CIE-LABlab(37.20, -34.29, 33.67)
CIE-LCHlch(37.20, 48.06, 135.52°)
OKLaboklab(44.73% -0.0939 0.0772)
OKLCHoklch(44.73% 0.122 140.6)
XYZxyz(5.6416, 9.6488, 2.6635)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28641C #581C64
analogous
#4C641C #28641C #1C6434
triadic
#28641C #1C2864 #641C28
tetradic
#28641C #1C4C64 #581C64 #64341C
square
#28641C #1C4C64 #581C64 #64341C
split-complementary
#28641C #341C64 #641C4C
monochromatic
#0A1807 #15340F #28641C #3B9429 #4EC437

Accessibility & contrast

On white

7.17
#28641C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#28641C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28641C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28641C#FFFFFF#000000##FFFFFF
##28641C1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B12
Deuteranopia (green-blind)
#5F5623
Tritanopia (blue-blind)
#206155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28641c;
/* rgb */ color: rgb(40, 100, 28);
/* oklch */ color: oklch(44.7% 0.122 140.6);
Tailwind
colors: {
  custom: {
    50: '#69915c',
    500: '#28641c',
    950: '#000000',
  },
}
SCSS
$custom: #28641c;
$custom-light: #69915c;
$custom-dark: #000000;
JSON
{
  "hex": "#28641c",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 110,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.44726,
    "c": 0.12157,
    "h": 140.6
  },
  "luminance": 0.09649
}

Semantic roles & 50–950 ramp

primary
#28641C
secondary
#8B4399
accent
#48E0C6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #28641C

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

Preview Lab → · Contrast checker → · Palette generator →

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