#042F24#042F24

#042F24 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.3% C 0.050 H 171.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#042F24
RGBrgb(4, 47, 36)
HSLhsl(165, 84%, 10%)
HSVhsv(165, 91%, 18%)
CMYKcmyk(91.5%, 0%, 23.4%, 81.6%)
CIE-LABlab(16.43, -17.68, 3.00)
CIE-LCHlch(16.43, 17.93, 170.38°)
OKLaboklab(27.33% -0.0495 0.0076)
OKLCHoklch(27.33% 0.05 171.2)
XYZxyz(1.3849, 2.1860, 2.0177)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F24 #2F040F
analogous
#042F0E #042F24 #04252F
triadic
#042F24 #24042F #2F2404
tetradic
#042F24 #0E042F #2F040F #252F04
square
#042F24 #0E042F #2F040F #252F04
split-complementary
#042F24 #2F0425 #2F0E04
monochromatic
#021C16 #021C16 #042F24 #09674F #0EA07A

Accessibility & contrast

On white

14.61
#042F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#042F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F24
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F24#FFFFFF#000000##FFFFFF
##042F241.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B23
Deuteranopia (green-blind)
#282725
Tritanopia (blue-blind)
#002F2C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042f24;
/* rgb */ color: rgb(4, 47, 36);
/* oklch */ color: oklch(27.3% 0.050 171.2);
Tailwind
colors: {
  custom: {
    50: '#4c685e',
    500: '#042f24',
    950: '#000000',
  },
}
SCSS
$custom: #042f24;
$custom-light: #4c685e;
$custom-dark: #000000;
JSON
{
  "hex": "#042f24",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 36
  },
  "hsl": {
    "h": 164.651,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27334,
    "c": 0.05006,
    "h": 171.2
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#042F24
secondary
#721D33
accent
#2D62FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #042F24

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

Preview Lab → · Contrast checker → · Palette generator →

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