#042003#042003

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

Color values

HEX#042003
RGBrgb(4, 32, 3)
HSLhsl(118, 83%, 7%)
HSVhsv(118, 91%, 13%)
CMYKcmyk(87.5%, 0%, 90.6%, 87.5%)
CIE-LABlab(9.52, -17.17, 12.69)
CIE-LCHlch(9.52, 21.35, 143.54°)
OKLaboklab(21.4% -0.0503 0.039)
OKLCHoklch(21.4% 0.064 142.2)
XYZxyz(0.5830, 1.0653, 0.2610)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042003 #1F0320
analogous
#132003 #042003 #032011
triadic
#042003 #030420 #200304
tetradic
#042003 #031320 #1F0320 #201103
square
#042003 #031320 #1F0320 #201103
split-complementary
#042003 #110320 #200313
monochromatic
#031C03 #031C03 #042003 #0B5808 #12900D

Accessibility & contrast

On white

17.31
#042003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#042003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042003
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042003#FFFFFF#000000##FFFFFF
##0420031.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C01
Deuteranopia (green-blind)
#1E1A05
Tritanopia (blue-blind)
#011F1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #042003;
/* rgb */ color: rgb(4, 32, 3);
/* oklch */ color: oklch(21.4% 0.064 142.2);
Tailwind
colors: {
  custom: {
    50: '#475b48',
    500: '#042003',
    950: '#000000',
  },
}
SCSS
$custom: #042003;
$custom-light: #475b48;
$custom-dark: #000000;
JSON
{
  "hex": "#042003",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 3
  },
  "hsl": {
    "h": 117.931,
    "s": 82.857,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21395,
    "c": 0.06367,
    "h": 142.2
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#042003
secondary
#621B64
accent
#2FF9F2
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #042003

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

Preview Lab → · Contrast checker → · Palette generator →

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