#042304#042304

#042304 is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.5% C 0.067 H 143.0°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#042304
RGBrgb(4, 35, 4)
HSLhsl(120, 79%, 8%)
HSVhsv(120, 89%, 14%)
CMYKcmyk(88.6%, 0%, 88.6%, 86.3%)
CIE-LABlab(10.82, -19.09, 14.11)
CIE-LCHlch(10.82, 23.74, 143.52°)
OKLaboklab(22.48% -0.0532 0.0402)
OKLCHoklch(22.48% 0.067 143)
XYZxyz(0.6730, 1.2366, 0.3181)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042304 #230423
analogous
#132304 #042304 #042313
triadic
#042304 #040423 #230404
tetradic
#042304 #041323 #230423 #231304
square
#042304 #041323 #230423 #231304
split-complementary
#042304 #130423 #230413
monochromatic
#031B03 #031B03 #042304 #0A5A0A #119111

Accessibility & contrast

On white

16.84
#042304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#042304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042304
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042304#FFFFFF#000000##FFFFFF
##0423041.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F02
Deuteranopia (green-blind)
#201C06
Tritanopia (blue-blind)
#00221D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #042304;
/* rgb */ color: rgb(4, 35, 4);
/* oklch */ color: oklch(22.5% 0.067 143.0);
Tailwind
colors: {
  custom: {
    50: '#485e48',
    500: '#042304',
    950: '#000000',
  },
}
SCSS
$custom: #042304;
$custom-light: #485e48;
$custom-dark: #000000;
JSON
{
  "hex": "#042304",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 4
  },
  "hsl": {
    "h": 120,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22479,
    "c": 0.06671,
    "h": 143
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#042304
secondary
#661D66
accent
#32F6F6
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #042304

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

Preview Lab → · Contrast checker → · Palette generator →

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