#042E1C#042E1C

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

Color values

HEX#042E1C
RGBrgb(4, 46, 28)
HSLhsl(154, 84%, 10%)
HSVhsv(154, 91%, 18%)
CMYKcmyk(91.3%, 0%, 39.1%, 82%)
CIE-LABlab(15.82, -19.55, 7.65)
CIE-LCHlch(15.82, 20.99, 158.62°)
OKLaboklab(26.75% -0.0531 0.0194)
OKLCHoklch(26.75% 0.057 160)
XYZxyz(1.2365, 2.0635, 1.4315)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E1C #2E0416
analogous
#042E07 #042E1C #042B2E
triadic
#042E1C #1C042E #2E1C04
tetradic
#042E1C #07042E #2E0416 #2B2E04
square
#042E1C #07042E #2E0416 #2B2E04
split-complementary
#042E1C #2E042B #2E0704
monochromatic
#021C11 #021C11 #042E1C #09663E #0E9F61

Accessibility & contrast

On white

14.86
#042E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042E1C
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E1C#FFFFFF#000000##FFFFFF
##042E1C1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A1B
Deuteranopia (green-blind)
#28261D
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042e1c;
/* rgb */ color: rgb(4, 46, 28);
/* oklch */ color: oklch(26.8% 0.057 160.0);
Tailwind
colors: {
  custom: {
    50: '#4b6758',
    500: '#042e1c',
    950: '#000000',
  },
}
SCSS
$custom: #042e1c;
$custom-light: #4b6758;
$custom-dark: #000000;
JSON
{
  "hex": "#042e1c",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 28
  },
  "hsl": {
    "h": 154.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26753,
    "c": 0.05651,
    "h": 160
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#042E1C
secondary
#711D41
accent
#2E85FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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