#042D2A#042D2A

#042D2A is a dark, muted teal. Relative luminance 0.021; OKLCH L 26.9% C 0.044 H 187.6°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#042D2A
RGBrgb(4, 45, 42)
HSLhsl(176, 84%, 10%)
HSVhsv(176, 91%, 18%)
CMYKcmyk(91.1%, 0%, 6.7%, 82.4%)
CIE-LABlab(15.85, -14.53, -2.05)
CIE-LCHlch(15.85, 14.68, 188.03°)
OKLaboklab(26.92% -0.0434 -0.0058)
OKLCHoklch(26.92% 0.044 187.6)
XYZxyz(1.4062, 2.0696, 2.5154)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D2A #2D0407
analogous
#042D16 #042D2A #041C2D
triadic
#042D2A #2A042D #2D2A04
tetradic
#042D2A #16042D #2D0407 #1C2D04
square
#042D2A #16042D #2D0407 #1C2D04
split-complementary
#042D2A #2D041C #2D1604
monochromatic
#021C1A #021C1A #042D2A #09655E #0E9D93

Accessibility & contrast

On white

14.85
#042D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D2A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D2A#FFFFFF#000000##FFFFFF
##042D2A1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A2A
Deuteranopia (green-blind)
#24262A
Tritanopia (blue-blind)
#002E2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042d2a;
/* rgb */ color: rgb(4, 45, 42);
/* oklch */ color: oklch(26.9% 0.044 187.6);
Tailwind
colors: {
  custom: {
    50: '#4c6663',
    500: '#042d2a',
    950: '#000000',
  },
}
SCSS
$custom: #042d2a;
$custom-light: #4c6663;
$custom-dark: #000000;
JSON
{
  "hex": "#042d2a",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 175.61,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2692,
    "c": 0.04379,
    "h": 187.6
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#042D2A
secondary
#701D23
accent
#2E3DFA
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#010605
muted
#777A79

Preview Lab

Preview with #042D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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