#042103#042103

#042103 is a very dark, moderate green. Relative luminance 0.011; OKLCH L 21.8% C 0.065 H 142.2°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#042103
RGBrgb(4, 33, 3)
HSLhsl(118, 83%, 7%)
HSVhsv(118, 91%, 13%)
CMYKcmyk(87.9%, 0%, 90.9%, 87.1%)
CIE-LABlab(9.95, -17.90, 13.30)
CIE-LCHlch(9.95, 22.30, 143.40°)
OKLaboklab(21.75% -0.0515 0.0399)
OKLCHoklch(21.75% 0.065 142.2)
XYZxyz(0.6103, 1.1200, 0.2702)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042103 #200321
analogous
#132103 #042103 #032111
triadic
#042103 #030421 #210304
tetradic
#042103 #031321 #200321 #211103
square
#042103 #031321 #200321 #211103
split-complementary
#042103 #110321 #210313
monochromatic
#031C03 #031C03 #042103 #0B5908 #12910D

Accessibility & contrast

On white

17.16
#042103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042103
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042103#FFFFFF#000000##FFFFFF
##0421031.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D01
Deuteranopia (green-blind)
#1E1A05
Tritanopia (blue-blind)
#01201B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #042103;
/* rgb */ color: rgb(4, 33, 3);
/* oklch */ color: oklch(21.8% 0.065 142.2);
Tailwind
colors: {
  custom: {
    50: '#475c48',
    500: '#042103',
    950: '#000000',
  },
}
SCSS
$custom: #042103;
$custom-light: #475c48;
$custom-dark: #000000;
JSON
{
  "hex": "#042103",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 3
  },
  "hsl": {
    "h": 118,
    "s": 83.333,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21752,
    "c": 0.06517,
    "h": 142.2
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#042103
secondary
#631B65
accent
#2EFAF3
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #042103

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

Preview Lab → · Contrast checker → · Palette generator →

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