#042504#042504

#042504 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.2% C 0.070 H 142.9°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#042504
RGBrgb(4, 37, 4)
HSLhsl(120, 80%, 8%)
HSVhsv(120, 89%, 15%)
CMYKcmyk(89.2%, 0%, 89.2%, 85.5%)
CIE-LABlab(11.67, -20.27, 15.29)
CIE-LCHlch(11.67, 25.39, 142.97°)
OKLaboklab(23.18% -0.0556 0.042)
OKLCHoklch(23.18% 0.07 142.9)
XYZxyz(0.7335, 1.3576, 0.3382)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042504 #250425
analogous
#142504 #042504 #042514
triadic
#042504 #040425 #250404
tetradic
#042504 #041425 #250425 #251404
square
#042504 #041425 #250425 #251404
split-complementary
#042504 #140425 #250414
monochromatic
#031C03 #031C03 #042504 #0A5C0A #109310

Accessibility & contrast

On white

16.51
#042504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#042504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042504
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042504#FFFFFF#000000##FFFFFF
##0425041.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262001
Deuteranopia (green-blind)
#221E06
Tritanopia (blue-blind)
#00241E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042504;
/* rgb */ color: rgb(4, 37, 4);
/* oklch */ color: oklch(23.2% 0.070 142.9);
Tailwind
colors: {
  custom: {
    50: '#486048',
    500: '#042504',
    950: '#000000',
  },
}
SCSS
$custom: #042504;
$custom-light: #486048;
$custom-dark: #000000;
JSON
{
  "hex": "#042504",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 4
  },
  "hsl": {
    "h": 120,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23183,
    "c": 0.06966,
    "h": 142.9
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#042504
secondary
#681D68
accent
#31F7F7
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #042504

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

Preview Lab → · Contrast checker → · Palette generator →

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