#040805#040805

#040805 is a very dark, near-neutral green. Relative luminance 0.002; OKLCH L 12.7% C 0.013 H 153.5°. Best body text is #FFFFFF at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#040805
RGBrgb(4, 8, 5)
HSLhsl(135, 33%, 2%)
HSVhsv(135, 50%, 3%)
CMYKcmyk(50%, 0%, 37.5%, 96.9%)
CIE-LABlab(1.90, -1.46, 0.77)
CIE-LCHlch(1.90, 1.65, 152.32°)
OKLaboklab(12.67% -0.0112 0.0056)
OKLCHoklch(12.67% 0.013 153.5)
XYZxyz(0.1643, 0.2104, 0.1755)
Luminance0.0021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040805 #080407
analogous
#050804 #040805 #040807
triadic
#040805 #050408 #080504
tetradic
#040805 #040508 #080407 #080704
square
#040805 #040508 #080407 #080704
split-complementary
#040805 #070408 #080405
monochromatic
#0A140D #0A140D #0A140D #18311F #2D5A38

Accessibility & contrast

On white

20.15
#040805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#040805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040805
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040805#FFFFFF#000000##FFFFFF
##0408051.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080705
Deuteranopia (green-blind)
#070705
Tritanopia (blue-blind)
#040807
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #040805;
/* rgb */ color: rgb(4, 8, 5);
/* oklch */ color: oklch(12.7% 0.013 153.5);
Tailwind
colors: {
  custom: {
    50: '#484a49',
    500: '#040805',
    950: '#000000',
  },
}
SCSS
$custom: #040805;
$custom-light: #484a49;
$custom-dark: #000000;
JSON
{
  "hex": "#040805",
  "rgb": {
    "r": 4,
    "g": 8,
    "b": 5
  },
  "hsl": {
    "h": 135,
    "s": 33.333,
    "l": 2.353
  },
  "oklch": {
    "l": 0.12668,
    "c": 0.01255,
    "h": 153.5
  },
  "luminance": 0.0021
}

Semantic roles & 50–950 ramp

primary
#040805
secondary
#40283A
accent
#5EAFC9
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040805

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

Preview Lab → · Contrast checker → · Palette generator →

#040805 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva