#042706#042706

#042706 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.9% C 0.070 H 144.0°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#042706
RGBrgb(4, 39, 6)
HSLhsl(123, 81%, 8%)
HSVhsv(123, 90%, 15%)
CMYKcmyk(89.7%, 0%, 84.6%, 84.7%)
CIE-LABlab(12.54, -20.95, 15.66)
CIE-LCHlch(12.54, 26.16, 143.23°)
OKLaboklab(23.92% -0.0567 0.0412)
OKLCHoklch(23.92% 0.07 144)
XYZxyz(0.8084, 1.4899, 0.4172)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042706 #270425
analogous
#132704 #042706 #042717
triadic
#042706 #060427 #270604
tetradic
#042706 #041327 #270425 #271704
square
#042706 #041327 #270425 #271704
split-complementary
#042706 #170427 #270413
monochromatic
#031C04 #031C04 #042706 #0A5F0F #0F9617

Accessibility & contrast

On white

16.18
#042706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042706
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042706#FFFFFF#000000##FFFFFF
##0427061.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282203
Deuteranopia (green-blind)
#242009
Tritanopia (blue-blind)
#002620
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042706;
/* rgb */ color: rgb(4, 39, 6);
/* oklch */ color: oklch(23.9% 0.070 144.0);
Tailwind
colors: {
  custom: {
    50: '#496149',
    500: '#042706',
    950: '#000000',
  },
}
SCSS
$custom: #042706;
$custom-light: #496149;
$custom-dark: #000000;
JSON
{
  "hex": "#042706",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 6
  },
  "hsl": {
    "h": 123.429,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23916,
    "c": 0.07013,
    "h": 144
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#042706
secondary
#6A1D65
accent
#30ECF8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #042706

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

Preview Lab → · Contrast checker → · Palette generator →

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