#28641B#28641B

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

Color values

HEX#28641B
RGBrgb(40, 100, 27)
HSLhsl(109, 57%, 25%)
HSVhsv(109, 73%, 39%)
CMYKcmyk(60%, 0%, 73%, 60.8%)
CIE-LABlab(37.20, -34.39, 34.11)
CIE-LCHlch(37.20, 48.44, 135.23°)
OKLaboklab(44.72% -0.0942 0.078)
OKLCHoklch(44.72% 0.122 140.4)
XYZxyz(5.6298, 9.6441, 2.6015)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28641B #571B64
analogous
#4D641B #28641B #1B6433
triadic
#28641B #1B2864 #641B28
tetradic
#28641B #1B4D64 #571B64 #64331B
square
#28641B #1B4D64 #571B64 #64331B
split-complementary
#28641B #331B64 #641B4D
monochromatic
#0A1807 #15340E #28641B #3B9428 #4FC435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28641B#FFFFFF#000000##FFFFFF
##28641B1.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)
#675B10
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#216155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28641b;
/* rgb */ color: rgb(40, 100, 27);
/* oklch */ color: oklch(44.7% 0.122 140.4);
Tailwind
colors: {
  custom: {
    50: '#69915c',
    500: '#28641b',
    950: '#000000',
  },
}
SCSS
$custom: #28641b;
$custom-light: #69915c;
$custom-dark: #000000;
JSON
{
  "hex": "#28641b",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 109.315,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44716,
    "c": 0.12233,
    "h": 140.4
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#28641B
secondary
#8A4199
accent
#47E1C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #28641B

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

Preview Lab → · Contrast checker → · Palette generator →

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