#042D2C#042D2C

#042D2C is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.0% C 0.043 H 192.4°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#042D2C
RGBrgb(4, 45, 44)
HSLhsl(179, 84%, 10%)
HSVhsv(179, 91%, 18%)
CMYKcmyk(91.1%, 0%, 2.2%, 82.4%)
CIE-LABlab(15.92, -13.80, -3.34)
CIE-LCHlch(15.92, 14.20, 193.62°)
OKLaboklab(27.01% -0.0423 -0.0093)
OKLCHoklch(27.01% 0.043 192.4)
XYZxyz(1.4429, 2.0843, 2.7086)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D2C #2D0405
analogous
#042D18 #042D2C #041A2D
triadic
#042D2C #2C042D #2D2C04
tetradic
#042D2C #18042D #2D0405 #1A2D04
square
#042D2C #18042D #2D0405 #1A2D04
split-complementary
#042D2C #2D041A #2D1804
monochromatic
#021C1B #021C1B #042D2C #096563 #0E9D9A

Accessibility & contrast

On white

14.82
#042D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#042D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D2C
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D2C#FFFFFF#000000##FFFFFF
##042D2C1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2C
Deuteranopia (green-blind)
#24262C
Tritanopia (blue-blind)
#002F2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042d2c;
/* rgb */ color: rgb(4, 45, 44);
/* oklch */ color: oklch(27.0% 0.043 192.4);
Tailwind
colors: {
  custom: {
    50: '#4c6665',
    500: '#042d2c',
    950: '#000000',
  },
}
SCSS
$custom: #042d2c;
$custom-light: #4c6665;
$custom-dark: #000000;
JSON
{
  "hex": "#042d2c",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 44
  },
  "hsl": {
    "h": 178.537,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27007,
    "c": 0.04329,
    "h": 192.4
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#042D2C
secondary
#701D1F
accent
#2E33FA
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#010605
muted
#777A7A

Preview Lab

Preview with #042D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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