#042D1A#042D1A

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

Color values

HEX#042D1A
RGBrgb(4, 45, 26)
HSLhsl(152, 84%, 10%)
HSVhsv(152, 91%, 18%)
CMYKcmyk(91.1%, 0%, 42.2%, 82.4%)
CIE-LABlab(15.37, -19.59, 8.41)
CIE-LCHlch(15.37, 21.32, 156.78°)
OKLaboklab(26.37% -0.0531 0.0212)
OKLCHoklch(26.37% 0.057 158.2)
XYZxyz(1.1748, 1.9770, 1.2968)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D1A #2D0417
analogous
#042D06 #042D1A #042C2D
triadic
#042D1A #1A042D #2D1A04
tetradic
#042D1A #06042D #2D0417 #2C2D04
square
#042D1A #06042D #2D0417 #2C2D04
split-complementary
#042D1A #2D042C #2D0604
monochromatic
#021C10 #021C10 #042D1A #09653A #0E9D5B

Accessibility & contrast

On white

15.05
#042D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042D1A
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D1A#FFFFFF#000000##FFFFFF
##042D1A1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2919
Deuteranopia (green-blind)
#27251B
Tritanopia (blue-blind)
#002D28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042d1a;
/* rgb */ color: rgb(4, 45, 26);
/* oklch */ color: oklch(26.4% 0.057 158.2);
Tailwind
colors: {
  custom: {
    50: '#4b6656',
    500: '#042d1a',
    950: '#000000',
  },
}
SCSS
$custom: #042d1a;
$custom-light: #4b6656;
$custom-dark: #000000;
JSON
{
  "hex": "#042d1a",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 26
  },
  "hsl": {
    "h": 152.195,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26366,
    "c": 0.05713,
    "h": 158.2
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#042D1A
secondary
#701D43
accent
#2E8CFA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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