#042E1D#042E1D

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

Color values

HEX#042E1D
RGBrgb(4, 46, 29)
HSLhsl(156, 84%, 10%)
HSVhsv(156, 91%, 18%)
CMYKcmyk(91.3%, 0%, 37%, 82%)
CIE-LABlab(15.84, -19.27, 7.00)
CIE-LCHlch(15.84, 20.50, 160.03°)
OKLaboklab(26.78% -0.0525 0.0178)
OKLCHoklch(26.78% 0.055 161.3)
XYZxyz(1.2487, 2.0684, 1.4956)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E1D #2E0415
analogous
#042E08 #042E1D #042A2E
triadic
#042E1D #1D042E #2E1D04
tetradic
#042E1D #08042E #2E0415 #2A2E04
square
#042E1D #08042E #2E0415 #2A2E04
split-complementary
#042E1D #2E042A #2E0804
monochromatic
#021C12 #021C12 #042E1D #096640 #0E9F64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##042E1D#FFFFFF#000000##FFFFFF
##042E1D1.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)
#2D2A1C
Deuteranopia (green-blind)
#28261E
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042e1d;
/* rgb */ color: rgb(4, 46, 29);
/* oklch */ color: oklch(26.8% 0.055 161.3);
Tailwind
colors: {
  custom: {
    50: '#4b6758',
    500: '#042e1d',
    950: '#000000',
  },
}
SCSS
$custom: #042e1d;
$custom-light: #4b6758;
$custom-dark: #000000;
JSON
{
  "hex": "#042e1d",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 29
  },
  "hsl": {
    "h": 155.714,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26782,
    "c": 0.05542,
    "h": 161.3
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#042E1D
secondary
#711D3F
accent
#2E80FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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