#042011#042011

#042011 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.7% C 0.045 H 156.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#042011
RGBrgb(4, 32, 17)
HSLhsl(148, 78%, 7%)
HSVhsv(148, 88%, 13%)
CMYKcmyk(87.5%, 0%, 46.9%, 87.5%)
CIE-LABlab(9.79, -14.85, 6.77)
CIE-LCHlch(9.79, 16.32, 155.51°)
OKLaboklab(21.7% -0.0418 0.018)
OKLCHoklch(21.7% 0.045 156.7)
XYZxyz(0.6677, 1.0992, 0.7072)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042011 #200413
analogous
#052004 #042011 #04201F
triadic
#042011 #110420 #201104
tetradic
#042011 #040520 #200413 #201F04
square
#042011 #040520 #200413 #201F04
split-complementary
#042011 #1F0420 #200405
monochromatic
#031B0E #031B0E #042011 #0B562E #128D4B

Accessibility & contrast

On white

17.22
#042011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042011
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042011#FFFFFF#000000##FFFFFF
##0420111.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D10
Deuteranopia (green-blind)
#1C1A12
Tritanopia (blue-blind)
#00201C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #042011;
/* rgb */ color: rgb(4, 32, 17);
/* oklch */ color: oklch(21.7% 0.045 156.7);
Tailwind
colors: {
  custom: {
    50: '#485b4f',
    500: '#042011',
    950: '#000000',
  },
}
SCSS
$custom: #042011;
$custom-light: #485b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#042011",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 17
  },
  "hsl": {
    "h": 147.857,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21704,
    "c": 0.04548,
    "h": 156.7
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#042011
secondary
#631D42
accent
#349BF4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #042011

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

Preview Lab → · Contrast checker → · Palette generator →

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