#042604#042604

#042604 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.5% C 0.071 H 142.9°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#042604
RGBrgb(4, 38, 4)
HSLhsl(120, 81%, 8%)
HSVhsv(120, 89%, 15%)
CMYKcmyk(89.5%, 0%, 89.5%, 85.1%)
CIE-LABlab(12.09, -20.79, 15.87)
CIE-LCHlch(12.09, 26.15, 142.65°)
OKLaboklab(23.53% -0.0567 0.0429)
OKLCHoklch(23.53% 0.071 142.9)
XYZxyz(0.7651, 1.4207, 0.3487)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042604 #260426
analogous
#152604 #042604 #042615
triadic
#042604 #040426 #260404
tetradic
#042604 #041526 #260426 #261504
square
#042604 #041526 #260426 #261504
split-complementary
#042604 #150426 #260415
monochromatic
#031C03 #031C03 #042604 #0A5D0A #109510

Accessibility & contrast

On white

16.35
#042604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#042604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042604
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042604#FFFFFF#000000##FFFFFF
##0426041.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272101
Deuteranopia (green-blind)
#231F07
Tritanopia (blue-blind)
#00251F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #042604;
/* rgb */ color: rgb(4, 38, 4);
/* oklch */ color: oklch(23.5% 0.071 142.9);
Tailwind
colors: {
  custom: {
    50: '#486148',
    500: '#042604',
    950: '#000000',
  },
}
SCSS
$custom: #042604;
$custom-light: #486148;
$custom-dark: #000000;
JSON
{
  "hex": "#042604",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 4
  },
  "hsl": {
    "h": 120,
    "s": 80.952,
    "l": 8.235
  },
  "oklch": {
    "l": 0.23534,
    "c": 0.07112,
    "h": 142.9
  },
  "luminance": 0.01421
}

Semantic roles & 50–950 ramp

primary
#042604
secondary
#691D69
accent
#30F7F7
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #042604

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

Preview Lab → · Contrast checker → · Palette generator →

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