#042D13#042D13

#042D13 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.2% C 0.065 H 151.1°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#042D13
RGBrgb(4, 45, 19)
HSLhsl(142, 84%, 10%)
HSVhsv(142, 91%, 18%)
CMYKcmyk(91.1%, 0%, 57.8%, 82.4%)
CIE-LABlab(15.22, -21.27, 12.88)
CIE-LCHlch(15.22, 24.87, 148.80°)
OKLaboklab(26.2% -0.0571 0.0315)
OKLCHoklch(26.2% 0.065 151.1)
XYZxyz(1.1059, 1.9495, 0.9340)
Luminance0.0195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D13 #2D041E
analogous
#0A2D04 #042D13 #042D28
triadic
#042D13 #13042D #2D1304
tetradic
#042D13 #040A2D #2D041E #2D2804
square
#042D13 #040A2D #2D041E #2D2804
split-complementary
#042D13 #28042D #2D040A
monochromatic
#021C0C #021C0C #042D13 #09652B #0E9D42

Accessibility & contrast

On white

15.11
#042D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#042D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D13
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D13#FFFFFF#000000##FFFFFF
##042D131.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2811
Deuteranopia (green-blind)
#282515
Tritanopia (blue-blind)
#002C27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042d13;
/* rgb */ color: rgb(4, 45, 19);
/* oklch */ color: oklch(26.2% 0.065 151.1);
Tailwind
colors: {
  custom: {
    50: '#4b6651',
    500: '#042d13',
    950: '#000000',
  },
}
SCSS
$custom: #042d13;
$custom-light: #4b6651;
$custom-dark: #000000;
JSON
{
  "hex": "#042d13",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 19
  },
  "hsl": {
    "h": 141.951,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26197,
    "c": 0.06525,
    "h": 151.1
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#042D13
secondary
#701D51
accent
#2EAFFA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #042D13

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

Preview Lab → · Contrast checker → · Palette generator →

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