#28641D#28641D

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

Color values

HEX#28641D
RGBrgb(40, 100, 29)
HSLhsl(111, 55%, 25%)
HSVhsv(111, 71%, 39%)
CMYKcmyk(60%, 0%, 71%, 60.8%)
CIE-LABlab(37.21, -34.19, 33.23)
CIE-LCHlch(37.21, 47.67, 135.82°)
OKLaboklab(44.74% -0.0936 0.0764)
OKLCHoklch(44.74% 0.121 140.8)
XYZxyz(5.6538, 9.6537, 2.7276)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28641D #591D64
analogous
#4B641D #28641D #1D6435
triadic
#28641D #1D2864 #641D28
tetradic
#28641D #1D4B64 #591D64 #64351D
square
#28641D #1D4B64 #591D64 #64351D
split-complementary
#28641D #351D64 #641D4B
monochromatic
#091807 #15350F #28641D #3B932B #4EC339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28641D#FFFFFF#000000##FFFFFF
##28641D1.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)
#675B13
Deuteranopia (green-blind)
#5F5623
Tritanopia (blue-blind)
#206155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28641d;
/* rgb */ color: rgb(40, 100, 29);
/* oklch */ color: oklch(44.7% 0.121 140.8);
Tailwind
colors: {
  custom: {
    50: '#69915d',
    500: '#28641d',
    950: '#000000',
  },
}
SCSS
$custom: #28641d;
$custom-light: #69915d;
$custom-dark: #000000;
JSON
{
  "hex": "#28641d",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 29
  },
  "hsl": {
    "h": 110.704,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.1208,
    "h": 140.8
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#28641D
secondary
#8C4499
accent
#49DEC7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #28641D

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

Preview Lab → · Contrast checker → · Palette generator →

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