#042C1E#042C1E

#042C1E is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.2% C 0.051 H 164.9°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#042C1E
RGBrgb(4, 44, 30)
HSLhsl(159, 83%, 9%)
HSVhsv(159, 91%, 17%)
CMYKcmyk(90.9%, 0%, 31.8%, 82.7%)
CIE-LABlab(15.07, -17.97, 5.23)
CIE-LCHlch(15.07, 18.71, 163.76°)
OKLaboklab(26.15% -0.0494 0.0134)
OKLCHoklch(26.15% 0.051 164.9)
XYZxyz(1.1850, 1.9208, 1.5363)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C1E #2C0412
analogous
#042C0A #042C1E #04262C
triadic
#042C1E #1E042C #2C1E04
tetradic
#042C1E #0A042C #2C0412 #262C04
square
#042C1E #0A042C #2C0412 #262C04
split-complementary
#042C1E #2C0426 #2C0A04
monochromatic
#031C13 #031C13 #042C1E #096444 #0E9C6B

Accessibility & contrast

On white

15.17
#042C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#042C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C1E
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C1E#FFFFFF#000000##FFFFFF
##042C1E1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281D
Deuteranopia (green-blind)
#26241F
Tritanopia (blue-blind)
#002C28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042c1e;
/* rgb */ color: rgb(4, 44, 30);
/* oklch */ color: oklch(26.2% 0.051 164.9);
Tailwind
colors: {
  custom: {
    50: '#4b6559',
    500: '#042c1e',
    950: '#000000',
  },
}
SCSS
$custom: #042c1e;
$custom-light: #4b6559;
$custom-dark: #000000;
JSON
{
  "hex": "#042c1e",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 30
  },
  "hsl": {
    "h": 159,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26152,
    "c": 0.05114,
    "h": 164.9
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#042C1E
secondary
#6F1D3A
accent
#2E75FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #042C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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