#28641A#28641A

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

Color values

HEX#28641A
RGBrgb(40, 100, 26)
HSLhsl(109, 59%, 25%)
HSVhsv(109, 74%, 39%)
CMYKcmyk(60%, 0%, 74%, 60.8%)
CIE-LABlab(37.19, -34.48, 34.54)
CIE-LCHlch(37.19, 48.81, 134.95°)
OKLaboklab(44.71% -0.0945 0.0788)
OKLCHoklch(44.71% 0.123 140.2)
XYZxyz(5.6184, 9.6396, 2.5416)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28641A #561A64
analogous
#4D641A #28641A #1A6431
triadic
#28641A #1A2864 #641A28
tetradic
#28641A #1A4D64 #561A64 #64311A
square
#28641A #1A4D64 #561A64 #64311A
split-complementary
#28641A #311A64 #641A4D
monochromatic
#0A1806 #15330D #28641A #3B9527 #4FC533

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28641A#FFFFFF#000000##FFFFFF
##28641A1.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)
#675B0F
Deuteranopia (green-blind)
#5F5621
Tritanopia (blue-blind)
#216155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28641a;
/* rgb */ color: rgb(40, 100, 26);
/* oklch */ color: oklch(44.7% 0.123 140.2);
Tailwind
colors: {
  custom: {
    50: '#69915b',
    500: '#28641a',
    950: '#000000',
  },
}
SCSS
$custom: #28641a;
$custom-light: #69915b;
$custom-dark: #000000;
JSON
{
  "hex": "#28641a",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 26
  },
  "hsl": {
    "h": 108.649,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44706,
    "c": 0.12306,
    "h": 140.2
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#28641A
secondary
#89409A
accent
#46E2C4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #28641A

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

Preview Lab → · Contrast checker → · Palette generator →

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