#042E1E#042E1E

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

Color values

HEX#042E1E
RGBrgb(4, 46, 30)
HSLhsl(157, 84%, 10%)
HSVhsv(157, 91%, 18%)
CMYKcmyk(91.3%, 0%, 34.8%, 82%)
CIE-LABlab(15.87, -18.99, 6.35)
CIE-LCHlch(15.87, 20.02, 161.51°)
OKLaboklab(26.81% -0.0519 0.0162)
OKLCHoklch(26.81% 0.054 162.7)
XYZxyz(1.2613, 2.0734, 1.5618)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E1E #2E0414
analogous
#042E09 #042E1E #04292E
triadic
#042E1E #1E042E #2E1E04
tetradic
#042E1E #09042E #2E0414 #292E04
square
#042E1E #09042E #2E0414 #292E04
split-complementary
#042E1E #2E0429 #2E0904
monochromatic
#021C12 #021C12 #042E1E #096643 #0E9F67

Accessibility & contrast

On white

14.84
#042E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042E1E
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E1E#FFFFFF#000000##FFFFFF
##042E1E1.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A1D
Deuteranopia (green-blind)
#28261F
Tritanopia (blue-blind)
#002E2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042e1e;
/* rgb */ color: rgb(4, 46, 30);
/* oklch */ color: oklch(26.8% 0.054 162.7);
Tailwind
colors: {
  custom: {
    50: '#4c6759',
    500: '#042e1e',
    950: '#000000',
  },
}
SCSS
$custom: #042e1e;
$custom-light: #4c6759;
$custom-dark: #000000;
JSON
{
  "hex": "#042e1e",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 30
  },
  "hsl": {
    "h": 157.143,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26812,
    "c": 0.05434,
    "h": 162.7
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#042E1E
secondary
#711D3D
accent
#2E7CFA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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