#042D1C#042D1C

#042D1C is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.4% C 0.055 H 160.8°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#042D1C
RGBrgb(4, 45, 28)
HSLhsl(155, 84%, 10%)
HSVhsv(155, 91%, 18%)
CMYKcmyk(91.1%, 0%, 37.8%, 82.4%)
CIE-LABlab(15.42, -19.05, 7.10)
CIE-LCHlch(15.42, 20.33, 159.55°)
OKLaboklab(26.42% -0.0518 0.018)
OKLCHoklch(26.42% 0.055 160.8)
XYZxyz(1.1979, 1.9863, 1.4186)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D1C #2D0415
analogous
#042D08 #042D1C #042A2D
triadic
#042D1C #1C042D #2D1C04
tetradic
#042D1C #08042D #2D0415 #2A2D04
square
#042D1C #08042D #2D0415 #2A2D04
split-complementary
#042D1C #2D042A #2D0804
monochromatic
#021C11 #021C11 #042D1C #09653F #0E9D62

Accessibility & contrast

On white

15.03
#042D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#042D1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D1C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D1C#FFFFFF#000000##FFFFFF
##042D1C1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291B
Deuteranopia (green-blind)
#27251D
Tritanopia (blue-blind)
#002D28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042d1c;
/* rgb */ color: rgb(4, 45, 28);
/* oklch */ color: oklch(26.4% 0.055 160.8);
Tailwind
colors: {
  custom: {
    50: '#4b6658',
    500: '#042d1c',
    950: '#000000',
  },
}
SCSS
$custom: #042d1c;
$custom-light: #4b6658;
$custom-dark: #000000;
JSON
{
  "hex": "#042d1c",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 28
  },
  "hsl": {
    "h": 155.122,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26422,
    "c": 0.05489,
    "h": 160.8
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#042D1C
secondary
#701D3F
accent
#2E82FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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