#042D1E#042D1E

#042D1E is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.5% C 0.053 H 163.7°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#042D1E
RGBrgb(4, 45, 30)
HSLhsl(158, 84%, 10%)
HSVhsv(158, 91%, 18%)
CMYKcmyk(91.1%, 0%, 33.3%, 82.4%)
CIE-LABlab(15.47, -18.48, 5.79)
CIE-LCHlch(15.47, 19.37, 162.59°)
OKLaboklab(26.48% -0.0506 0.0148)
OKLCHoklch(26.48% 0.053 163.7)
XYZxyz(1.2227, 1.9962, 1.5489)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D1E #2D0413
analogous
#042D0A #042D1E #04282D
triadic
#042D1E #1E042D #2D1E04
tetradic
#042D1E #0A042D #2D0413 #282D04
square
#042D1E #0A042D #2D0413 #282D04
split-complementary
#042D1E #2D0428 #2D0A04
monochromatic
#021C13 #021C13 #042D1E #096543 #0E9D69

Accessibility & contrast

On white

15.01
#042D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042D1E
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D1E#FFFFFF#000000##FFFFFF
##042D1E1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291D
Deuteranopia (green-blind)
#27251F
Tritanopia (blue-blind)
#002D29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042d1e;
/* rgb */ color: rgb(4, 45, 30);
/* oklch */ color: oklch(26.5% 0.053 163.7);
Tailwind
colors: {
  custom: {
    50: '#4b6659',
    500: '#042d1e',
    950: '#000000',
  },
}
SCSS
$custom: #042d1e;
$custom-light: #4b6659;
$custom-dark: #000000;
JSON
{
  "hex": "#042d1e",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 30
  },
  "hsl": {
    "h": 158.049,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26482,
    "c": 0.05274,
    "h": 163.7
  },
  "luminance": 0.01996
}

Semantic roles & 50–950 ramp

primary
#042D1E
secondary
#701D3B
accent
#2E79FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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