#042006#042006

#042006 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.5% C 0.059 H 144.7°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#042006
RGBrgb(4, 32, 6)
HSLhsl(124, 78%, 7%)
HSVhsv(124, 88%, 13%)
CMYKcmyk(87.5%, 0%, 81.2%, 87.5%)
CIE-LABlab(9.58, -16.72, 11.54)
CIE-LCHlch(9.58, 20.32, 145.40°)
OKLaboklab(21.46% -0.0483 0.0343)
OKLCHoklch(21.46% 0.059 144.7)
XYZxyz(0.5994, 1.0719, 0.3476)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042006 #20041E
analogous
#102004 #042006 #042014
triadic
#042006 #060420 #200604
tetradic
#042006 #041020 #20041E #201404
square
#042006 #041020 #20041E #201404
split-complementary
#042006 #140420 #200410
monochromatic
#031B05 #031B05 #042006 #0B5610 #128D1A

Accessibility & contrast

On white

17.29
#042006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#042006 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042006
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042006#FFFFFF#000000##FFFFFF
##0420061.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C04
Deuteranopia (green-blind)
#1D1A08
Tritanopia (blue-blind)
#001F1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #042006;
/* rgb */ color: rgb(4, 32, 6);
/* oklch */ color: oklch(21.5% 0.059 144.7);
Tailwind
colors: {
  custom: {
    50: '#475b49',
    500: '#042006',
    950: '#000000',
  },
}
SCSS
$custom: #042006;
$custom-light: #475b49;
$custom-dark: #000000;
JSON
{
  "hex": "#042006",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 6
  },
  "hsl": {
    "h": 124.286,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21456,
    "c": 0.05925,
    "h": 144.7
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#042006
secondary
#631D5E
accent
#34E7F4
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #042006

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

Preview Lab → · Contrast checker → · Palette generator →

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