#042809#042809

#042809 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.3% C 0.068 H 145.6°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#042809
RGBrgb(4, 40, 9)
HSLhsl(128, 82%, 9%)
HSVhsv(128, 90%, 16%)
CMYKcmyk(90%, 0%, 77.5%, 84.3%)
CIE-LABlab(13.00, -20.90, 15.05)
CIE-LCHlch(13.00, 25.76, 144.24°)
OKLaboklab(24.31% -0.0564 0.0385)
OKLCHoklch(24.31% 0.068 145.6)
XYZxyz(0.8581, 1.5630, 0.5149)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042809 #280423
analogous
#112804 #042809 #04281B
triadic
#042809 #090428 #280904
tetradic
#042809 #041128 #280423 #281B04
square
#042809 #041128 #280423 #281B04
split-complementary
#042809 #1B0428 #280411
monochromatic
#031C06 #031C06 #042809 #0A6016 #0F9722

Accessibility & contrast

On white

16.00
#042809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#042809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042809
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042809#FFFFFF#000000##FFFFFF
##0428091.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292306
Deuteranopia (green-blind)
#25200C
Tritanopia (blue-blind)
#002721
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042809;
/* rgb */ color: rgb(4, 40, 9);
/* oklch */ color: oklch(24.3% 0.068 145.6);
Tailwind
colors: {
  custom: {
    50: '#49624b',
    500: '#042809',
    950: '#000000',
  },
}
SCSS
$custom: #042809;
$custom-light: #49624b;
$custom-dark: #000000;
JSON
{
  "hex": "#042809",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 9
  },
  "hsl": {
    "h": 128.333,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2431,
    "c": 0.06829,
    "h": 145.6
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#042809
secondary
#6B1D60
accent
#30DCF8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #042809

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

Preview Lab → · Contrast checker → · Palette generator →

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