#040705#040705

#040705 is a very dark, near-neutral green. Relative luminance 0.002; OKLCH L 12.2% C 0.009 H 157.1°. Best body text is #FFFFFF at 20.24:1 contrast (WCAG AA passes).

Color values

HEX#040705
RGBrgb(4, 7, 5)
HSLhsl(140, 27%, 2%)
HSVhsv(140, 43%, 3%)
CMYKcmyk(42.9%, 0%, 28.6%, 97.3%)
CIE-LABlab(1.70, -1.06, 0.48)
CIE-LCHlch(1.70, 1.17, 155.70°)
OKLaboklab(12.24% -0.0087 0.0037)
OKLCHoklch(12.24% 0.009 157.1)
XYZxyz(0.1534, 0.1887, 0.1719)
Luminance0.0019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040705 #070406
analogous
#050704 #040705 #040707
triadic
#040705 #050407 #070504
tetradic
#040705 #040507 #070406 #070704
square
#040705 #040507 #070406 #070704
split-complementary
#040705 #070407 #070405
monochromatic
#0B130E #0B130E #0B130E #1A2E21 #31553D

Accessibility & contrast

On white

20.24
#040705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040705
20.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040705#FFFFFF#000000##FFFFFF
##0407051.0020.241.0420.24
#FFFFFF20.241.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070605
Deuteranopia (green-blind)
#060605
Tritanopia (blue-blind)
#040706
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #040705;
/* rgb */ color: rgb(4, 7, 5);
/* oklch */ color: oklch(12.2% 0.009 157.1);
Tailwind
colors: {
  custom: {
    50: '#484a49',
    500: '#040705',
    950: '#000000',
  },
}
SCSS
$custom: #040705;
$custom-light: #484a49;
$custom-dark: #000000;
JSON
{
  "hex": "#040705",
  "rgb": {
    "r": 4,
    "g": 7,
    "b": 5
  },
  "hsl": {
    "h": 140,
    "s": 27.273,
    "l": 2.157
  },
  "oklch": {
    "l": 0.12244,
    "c": 0.00949,
    "h": 157.1
  },
  "luminance": 0.00189
}

Semantic roles & 50–950 ramp

primary
#040705
secondary
#3D2A37
accent
#64A4C4
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040705

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

Preview Lab → · Contrast checker → · Palette generator →

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