#042912#042912

#042912 is a very dark, muted green. Relative luminance 0.017; OKLCH L 24.8% C 0.060 H 152.0°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#042912
RGBrgb(4, 41, 18)
HSLhsl(143, 82%, 9%)
HSVhsv(143, 90%, 16%)
CMYKcmyk(90.2%, 0%, 56.1%, 83.9%)
CIE-LABlab(13.56, -19.64, 11.35)
CIE-LCHlch(13.56, 22.68, 149.98°)
OKLaboklab(24.82% -0.0528 0.0281)
OKLCHoklch(24.82% 0.06 152)
XYZxyz(0.9521, 1.6552, 0.8415)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042912 #29041B
analogous
#092904 #042912 #042925
triadic
#042912 #120429 #291204
tetradic
#042912 #040929 #29041B #292504
square
#042912 #040929 #29041B #292504
split-complementary
#042912 #250429 #290409
monochromatic
#031C0C #031C0C #042912 #09612A #0F9943

Accessibility & contrast

On white

15.78
#042912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#042912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042912
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042912#FFFFFF#000000##FFFFFF
##0429121.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292510
Deuteranopia (green-blind)
#252114
Tritanopia (blue-blind)
#002823
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #042912;
/* rgb */ color: rgb(4, 41, 18);
/* oklch */ color: oklch(24.8% 0.060 152.0);
Tailwind
colors: {
  custom: {
    50: '#4a6350',
    500: '#042912',
    950: '#000000',
  },
}
SCSS
$custom: #042912;
$custom-light: #4a6350;
$custom-dark: #000000;
JSON
{
  "hex": "#042912",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 142.703,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24821,
    "c": 0.05985,
    "h": 152
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#042912
secondary
#6C1D4E
accent
#2FACF9
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010502
muted
#777978

Preview Lab

Preview with #042912

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

Preview Lab → · Contrast checker → · Palette generator →

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