#042F1A#042F1A

#042F1A is a dark, moderate teal. Relative luminance 0.021; OKLCH L 27.0% C 0.060 H 156.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#042F1A
RGBrgb(4, 47, 26)
HSLhsl(151, 84%, 10%)
HSVhsv(151, 91%, 18%)
CMYKcmyk(91.5%, 0%, 44.7%, 81.6%)
CIE-LABlab(16.17, -20.56, 9.49)
CIE-LCHlch(16.17, 22.64, 155.22°)
OKLaboklab(27.03% -0.0555 0.0238)
OKLCHoklch(27.03% 0.06 156.8)
XYZxyz(1.2529, 2.1333, 1.3228)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F1A #2F0419
analogous
#042F05 #042F1A #042E2F
triadic
#042F1A #1A042F #2F1A04
tetradic
#042F1A #05042F #2F0419 #2E2F04
square
#042F1A #05042F #2F0419 #2E2F04
split-complementary
#042F1A #2F042E #2F0504
monochromatic
#021C10 #021C10 #042F1A #096739 #0EA058

Accessibility & contrast

On white

14.72
#042F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#042F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F1A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F1A#FFFFFF#000000##FFFFFF
##042F1A1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A19
Deuteranopia (green-blind)
#29271B
Tritanopia (blue-blind)
#002F2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042f1a;
/* rgb */ color: rgb(4, 47, 26);
/* oklch */ color: oklch(27.0% 0.060 156.8);
Tailwind
colors: {
  custom: {
    50: '#4c6856',
    500: '#042f1a',
    950: '#000000',
  },
}
SCSS
$custom: #042f1a;
$custom-light: #4c6856;
$custom-dark: #000000;
JSON
{
  "hex": "#042f1a",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 26
  },
  "hsl": {
    "h": 150.698,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2703,
    "c": 0.06041,
    "h": 156.8
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#042F1A
secondary
#721D46
accent
#2D92FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #042F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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