#042010#042010

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

Color values

HEX#042010
RGBrgb(4, 32, 16)
HSLhsl(146, 78%, 7%)
HSVhsv(146, 88%, 13%)
CMYKcmyk(87.5%, 0%, 50%, 87.5%)
CIE-LABlab(9.77, -15.07, 7.30)
CIE-LCHlch(9.77, 16.75, 154.14°)
OKLaboklab(21.68% -0.0424 0.0196)
OKLCHoklch(21.68% 0.047 155.2)
XYZxyz(0.6600, 1.0962, 0.6669)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042010 #200414
analogous
#062004 #042010 #04201E
triadic
#042010 #100420 #201004
tetradic
#042010 #040620 #200414 #201E04
square
#042010 #040620 #200414 #201E04
split-complementary
#042010 #1E0420 #200406
monochromatic
#031B0E #031B0E #042010 #0B562B #128D46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##042010#FFFFFF#000000##FFFFFF
##0420101.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)
#201D0F
Deuteranopia (green-blind)
#1C1A11
Tritanopia (blue-blind)
#00201C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #042010;
/* rgb */ color: rgb(4, 32, 16);
/* oklch */ color: oklch(21.7% 0.047 155.2);
Tailwind
colors: {
  custom: {
    50: '#485b4e',
    500: '#042010',
    950: '#000000',
  },
}
SCSS
$custom: #042010;
$custom-light: #485b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#042010",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 16
  },
  "hsl": {
    "h": 145.714,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21676,
    "c": 0.04671,
    "h": 155.2
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#042010
secondary
#631D45
accent
#34A2F4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #042010

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

Preview Lab → · Contrast checker → · Palette generator →

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