#28641F#28641F

#28641F is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.8% C 0.119 H 141.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#28641F
RGBrgb(40, 100, 31)
HSLhsl(112, 53%, 26%)
HSVhsv(112, 69%, 39%)
CMYKcmyk(60%, 0%, 69%, 60.8%)
CIE-LABlab(37.23, -33.98, 32.31)
CIE-LCHlch(37.23, 46.89, 136.44°)
OKLaboklab(44.76% -0.0928 0.0747)
OKLCHoklch(44.76% 0.119 141.2)
XYZxyz(5.6793, 9.6639, 2.8621)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28641F #5B1F64
analogous
#4A641F #28641F #1F6438
triadic
#28641F #1F2864 #641F28
tetradic
#28641F #1F4A64 #5B1F64 #64381F
square
#28641F #1F4A64 #5B1F64 #64381F
split-complementary
#28641F #381F64 #641F4A
monochromatic
#091707 #153511 #28641F #3B932D #4DC13C

Accessibility & contrast

On white

7.16
#28641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28641F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28641F#FFFFFF#000000##FFFFFF
##28641F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#5F5625
Tritanopia (blue-blind)
#206156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28641f;
/* rgb */ color: rgb(40, 100, 31);
/* oklch */ color: oklch(44.8% 0.119 141.2);
Tailwind
colors: {
  custom: {
    50: '#69915e',
    500: '#28641f',
    950: '#000000',
  },
}
SCSS
$custom: #28641f;
$custom-light: #69915e;
$custom-dark: #000000;
JSON
{
  "hex": "#28641f",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 112.174,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44757,
    "c": 0.11919,
    "h": 141.2
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#28641F
secondary
#8E4698
accent
#4CDCC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #28641F

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

Preview Lab → · Contrast checker → · Palette generator →

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