#042E1A#042E1A

#042E1A is a dark, muted teal. Relative luminance 0.021; OKLCH L 26.7% C 0.059 H 157.5°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#042E1A
RGBrgb(4, 46, 26)
HSLhsl(151, 84%, 10%)
HSVhsv(151, 91%, 18%)
CMYKcmyk(91.3%, 0%, 43.5%, 82%)
CIE-LABlab(15.77, -20.08, 8.95)
CIE-LCHlch(15.77, 21.98, 155.97°)
OKLaboklab(26.7% -0.0543 0.0225)
OKLCHoklch(26.7% 0.059 157.5)
XYZxyz(1.2134, 2.0542, 1.3096)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E1A #2E0418
analogous
#042E05 #042E1A #042D2E
triadic
#042E1A #1A042E #2E1A04
tetradic
#042E1A #05042E #2E0418 #2D2E04
square
#042E1A #05042E #2E0418 #2D2E04
split-complementary
#042E1A #2E042D #2E0504
monochromatic
#021C10 #021C10 #042E1A #09663A #0E9F5A

Accessibility & contrast

On white

14.89
#042E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042E1A
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E1A#FFFFFF#000000##FFFFFF
##042E1A1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042e1a;
/* rgb */ color: rgb(4, 46, 26);
/* oklch */ color: oklch(26.7% 0.059 157.5);
Tailwind
colors: {
  custom: {
    50: '#4b6756',
    500: '#042e1a',
    950: '#000000',
  },
}
SCSS
$custom: #042e1a;
$custom-light: #4b6756;
$custom-dark: #000000;
JSON
{
  "hex": "#042e1a",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 151.429,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26698,
    "c": 0.05877,
    "h": 157.5
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#042E1A
secondary
#711D45
accent
#2E8FFA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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