#042406#042406

#042406 is a very dark, moderate green. Relative luminance 0.013; OKLCH L 22.9% C 0.066 H 144.3°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#042406
RGBrgb(4, 36, 6)
HSLhsl(124, 80%, 8%)
HSVhsv(124, 89%, 14%)
CMYKcmyk(88.9%, 0%, 83.3%, 85.9%)
CIE-LABlab(11.28, -19.38, 13.93)
CIE-LCHlch(11.28, 23.87, 144.29°)
OKLaboklab(22.87% -0.0532 0.0383)
OKLCHoklch(22.87% 0.066 144.3)
XYZxyz(0.7138, 1.3006, 0.3857)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042406 #240422
analogous
#122404 #042406 #042416
triadic
#042406 #060424 #240604
tetradic
#042406 #041224 #240422 #241604
square
#042406 #041224 #240422 #241604
split-complementary
#042406 #160424 #240412
monochromatic
#031C05 #031C05 #042406 #0A5B0F #109218

Accessibility & contrast

On white

16.66
#042406 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#042406 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042406
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042406#FFFFFF#000000##FFFFFF
##0424061.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252003
Deuteranopia (green-blind)
#211D08
Tritanopia (blue-blind)
#00231E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #042406;
/* rgb */ color: rgb(4, 36, 6);
/* oklch */ color: oklch(22.9% 0.066 144.3);
Tailwind
colors: {
  custom: {
    50: '#485f49',
    500: '#042406',
    950: '#000000',
  },
}
SCSS
$custom: #042406;
$custom-light: #485f49;
$custom-dark: #000000;
JSON
{
  "hex": "#042406",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 6
  },
  "hsl": {
    "h": 123.75,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.22867,
    "c": 0.06557,
    "h": 144.3
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#042406
secondary
#671D62
accent
#31EAF6
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#010401
muted
#777977

Preview Lab

Preview with #042406

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

Preview Lab → · Contrast checker → · Palette generator →

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