#042709#042709

#042709 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 24.0% C 0.067 H 145.8°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#042709
RGBrgb(4, 39, 9)
HSLhsl(129, 81%, 8%)
HSVhsv(129, 90%, 15%)
CMYKcmyk(89.7%, 0%, 76.9%, 84.7%)
CIE-LABlab(12.59, -20.46, 14.49)
CIE-LCHlch(12.59, 25.07, 144.69°)
OKLaboklab(23.96% -0.0552 0.0375)
OKLCHoklch(23.96% 0.067 145.8)
XYZxyz(0.8248, 1.4965, 0.5038)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042709 #270422
analogous
#102704 #042709 #04271A
triadic
#042709 #090427 #270904
tetradic
#042709 #041027 #270422 #271A04
square
#042709 #041027 #270422 #271A04
split-complementary
#042709 #1A0427 #270410
monochromatic
#031C06 #031C06 #042709 #0A5F16 #0F9623

Accessibility & contrast

On white

16.16
#042709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#042709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042709
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042709#FFFFFF#000000##FFFFFF
##0427091.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282206
Deuteranopia (green-blind)
#24200B
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042709;
/* rgb */ color: rgb(4, 39, 9);
/* oklch */ color: oklch(24.0% 0.067 145.8);
Tailwind
colors: {
  custom: {
    50: '#49614b',
    500: '#042709',
    950: '#000000',
  },
}
SCSS
$custom: #042709;
$custom-light: #49614b;
$custom-dark: #000000;
JSON
{
  "hex": "#042709",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 9
  },
  "hsl": {
    "h": 128.571,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23964,
    "c": 0.06673,
    "h": 145.8
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#042709
secondary
#6A1D5F
accent
#30DBF8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #042709

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

Preview Lab → · Contrast checker → · Palette generator →

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