#042C19#042C19

#042C19 is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.0% C 0.057 H 157.8°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#042C19
RGBrgb(4, 44, 25)
HSLhsl(152, 83%, 9%)
HSVhsv(152, 91%, 17%)
CMYKcmyk(90.9%, 0%, 43.2%, 82.7%)
CIE-LABlab(14.94, -19.37, 8.51)
CIE-LCHlch(14.94, 21.16, 156.28°)
OKLaboklab(26.01% -0.0524 0.0214)
OKLCHoklch(26.01% 0.057 157.8)
XYZxyz(1.1261, 1.8972, 1.2264)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C19 #2C0417
analogous
#042C05 #042C19 #042B2C
triadic
#042C19 #19042C #2C1904
tetradic
#042C19 #05042C #2C0417 #2B2C04
square
#042C19 #05042C #2C0417 #2B2C04
split-complementary
#042C19 #2C042B #2C0504
monochromatic
#031C10 #031C10 #042C19 #096439 #0E9C59

Accessibility & contrast

On white

15.22
#042C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042C19
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C19#FFFFFF#000000##FFFFFF
##042C191.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2818
Deuteranopia (green-blind)
#27241A
Tritanopia (blue-blind)
#002C27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042c19;
/* rgb */ color: rgb(4, 44, 25);
/* oklch */ color: oklch(26.0% 0.057 157.8);
Tailwind
colors: {
  custom: {
    50: '#4b6555',
    500: '#042c19',
    950: '#000000',
  },
}
SCSS
$custom: #042c19;
$custom-light: #4b6555;
$custom-dark: #000000;
JSON
{
  "hex": "#042c19",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 25
  },
  "hsl": {
    "h": 151.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26006,
    "c": 0.05662,
    "h": 157.8
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#042C19
secondary
#6F1D44
accent
#2E8FFA
background
#F4F6F4
surface
#E7EBE8
border
#C3C6C4
text
#010603
muted
#777A78

Preview Lab

Preview with #042C19

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

Preview Lab → · Contrast checker → · Palette generator →

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