#042107#042107

#042107 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.8% C 0.060 H 145.3°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#042107
RGBrgb(4, 33, 7)
HSLhsl(126, 78%, 7%)
HSVhsv(126, 88%, 13%)
CMYKcmyk(87.9%, 0%, 78.8%, 87.1%)
CIE-LABlab(10.02, -17.30, 11.76)
CIE-LCHlch(10.02, 20.92, 145.78°)
OKLaboklab(21.83% -0.049 0.0339)
OKLCHoklch(21.83% 0.06 145.3)
XYZxyz(0.6322, 1.1288, 0.3855)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042107 #21041E
analogous
#102104 #042107 #042116
triadic
#042107 #070421 #210704
tetradic
#042107 #041021 #21041E #211604
square
#042107 #041021 #21041E #211604
split-complementary
#042107 #160421 #210410
monochromatic
#031B06 #031B06 #042107 #0B5813 #118E1E

Accessibility & contrast

On white

17.13
#042107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#042107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042107
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042107#FFFFFF#000000##FFFFFF
##0421071.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D05
Deuteranopia (green-blind)
#1E1B09
Tritanopia (blue-blind)
#00201B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #042107;
/* rgb */ color: rgb(4, 33, 7);
/* oklch */ color: oklch(21.8% 0.060 145.3);
Tailwind
colors: {
  custom: {
    50: '#485c4a',
    500: '#042107',
    950: '#000000',
  },
}
SCSS
$custom: #042107;
$custom-light: #485c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#042107",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 7
  },
  "hsl": {
    "h": 126.207,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21829,
    "c": 0.05953,
    "h": 145.3
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#042107
secondary
#641D5C
accent
#33E1F5
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #042107

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

Preview Lab → · Contrast checker → · Palette generator →

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