#042104#042104

#042104 is a very dark, moderate green. Relative luminance 0.011; OKLCH L 21.8% C 0.064 H 143.0°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#042104
RGBrgb(4, 33, 4)
HSLhsl(120, 78%, 7%)
HSVhsv(120, 88%, 13%)
CMYKcmyk(87.9%, 0%, 87.9%, 87.1%)
CIE-LABlab(9.97, -17.75, 12.91)
CIE-LCHlch(9.97, 21.95, 143.96°)
OKLaboklab(21.77% -0.0508 0.0383)
OKLCHoklch(21.77% 0.064 143)
XYZxyz(0.6158, 1.1222, 0.2990)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042104 #210421
analogous
#132104 #042104 #042113
triadic
#042104 #040421 #210404
tetradic
#042104 #041321 #210421 #211304
square
#042104 #041321 #210421 #211304
split-complementary
#042104 #130421 #210413
monochromatic
#031B03 #031B03 #042104 #0B580B #118E11

Accessibility & contrast

On white

17.15
#042104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#042104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042104
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042104#FFFFFF#000000##FFFFFF
##0421041.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D02
Deuteranopia (green-blind)
#1E1A06
Tritanopia (blue-blind)
#00201B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #042104;
/* rgb */ color: rgb(4, 33, 4);
/* oklch */ color: oklch(21.8% 0.064 143.0);
Tailwind
colors: {
  custom: {
    50: '#475c48',
    500: '#042104',
    950: '#000000',
  },
}
SCSS
$custom: #042104;
$custom-light: #475c48;
$custom-dark: #000000;
JSON
{
  "hex": "#042104",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 120,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21771,
    "c": 0.06368,
    "h": 143
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#042104
secondary
#641D64
accent
#33F5F5
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #042104

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

Preview Lab → · Contrast checker → · Palette generator →

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