#042403#042403

#042403 is a very dark, moderate green. Relative luminance 0.013; OKLCH L 22.8% C 0.070 H 142.3°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#042403
RGBrgb(4, 36, 3)
HSLhsl(118, 85%, 8%)
HSVhsv(118, 92%, 14%)
CMYKcmyk(88.9%, 0%, 91.7%, 85.9%)
CIE-LABlab(11.23, -19.86, 15.09)
CIE-LCHlch(11.23, 24.94, 142.77°)
OKLaboklab(22.81% -0.055 0.0426)
OKLCHoklch(22.81% 0.07 142.3)
XYZxyz(0.6973, 1.2941, 0.2992)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042403 #230324
analogous
#142403 #042403 #032412
triadic
#042403 #030424 #240304
tetradic
#042403 #031424 #230324 #241203
square
#042403 #031424 #230324 #241203
split-complementary
#042403 #120324 #240314
monochromatic
#031C02 #031C02 #042403 #0A5C08 #11950C

Accessibility & contrast

On white

16.68
#042403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#042403 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042403
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042403#FFFFFF#000000##FFFFFF
##0424031.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252000
Deuteranopia (green-blind)
#211D05
Tritanopia (blue-blind)
#00231D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #042403;
/* rgb */ color: rgb(4, 36, 3);
/* oklch */ color: oklch(22.8% 0.070 142.3);
Tailwind
colors: {
  custom: {
    50: '#485f48',
    500: '#042403',
    950: '#000000',
  },
}
SCSS
$custom: #042403;
$custom-light: #485f48;
$custom-dark: #000000;
JSON
{
  "hex": "#042403",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 3
  },
  "hsl": {
    "h": 118.182,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22814,
    "c": 0.06957,
    "h": 142.3
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#042403
secondary
#661B68
accent
#2DFBF5
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #042403

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

Preview Lab → · Contrast checker → · Palette generator →

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