#042C13#042C13

#042C13 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.9% C 0.064 H 151.5°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#042C13
RGBrgb(4, 44, 19)
HSLhsl(143, 83%, 9%)
HSVhsv(143, 91%, 17%)
CMYKcmyk(90.9%, 0%, 56.8%, 82.7%)
CIE-LABlab(14.81, -20.81, 12.36)
CIE-LCHlch(14.81, 24.21, 149.30°)
OKLaboklab(25.86% -0.0559 0.0303)
OKLCHoklch(25.86% 0.064 151.5)
XYZxyz(1.0682, 1.8741, 0.9214)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C13 #2C041D
analogous
#092C04 #042C13 #042C27
triadic
#042C13 #13042C #2C1304
tetradic
#042C13 #04092C #2C041D #2C2704
square
#042C13 #04092C #2C041D #2C2704
split-complementary
#042C13 #27042C #2C0409
monochromatic
#031C0C #031C0C #042C13 #09642B #0E9C43

Accessibility & contrast

On white

15.27
#042C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#042C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C13
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C13#FFFFFF#000000##FFFFFF
##042C131.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2711
Deuteranopia (green-blind)
#272415
Tritanopia (blue-blind)
#002B26
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042c13;
/* rgb */ color: rgb(4, 44, 19);
/* oklch */ color: oklch(25.9% 0.064 151.5);
Tailwind
colors: {
  custom: {
    50: '#4b6551',
    500: '#042c13',
    950: '#000000',
  },
}
SCSS
$custom: #042c13;
$custom-light: #4b6551;
$custom-dark: #000000;
JSON
{
  "hex": "#042c13",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 19
  },
  "hsl": {
    "h": 142.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2586,
    "c": 0.06362,
    "h": 151.5
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#042C13
secondary
#6F1D50
accent
#2EADFA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #042C13

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

Preview Lab → · Contrast checker → · Palette generator →

#042C13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva