#042B20#042B20

#042B20 is a dark, muted teal. Relative luminance 0.019; OKLCH L 25.9% C 0.048 H 169.7°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#042B20
RGBrgb(4, 43, 32)
HSLhsl(163, 83%, 9%)
HSVhsv(163, 91%, 17%)
CMYKcmyk(90.7%, 0%, 25.6%, 83.1%)
CIE-LABlab(14.72, -16.83, 3.35)
CIE-LCHlch(14.72, 17.16, 168.75°)
OKLaboklab(25.89% -0.0469 0.0086)
OKLCHoklch(25.89% 0.048 169.7)
XYZxyz(1.1745, 1.8577, 1.6629)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B20 #2B040F
analogous
#042B0D #042B20 #04232B
triadic
#042B20 #20042B #2B2004
tetradic
#042B20 #0D042B #2B040F #232B04
square
#042B20 #0D042B #2B040F #232B04
split-complementary
#042B20 #2B0423 #2B0D04
monochromatic
#031C15 #031C15 #042B20 #09634A #0E9B73

Accessibility & contrast

On white

15.31
#042B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#042B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B20
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B20#FFFFFF#000000##FFFFFF
##042B201.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#242421
Tritanopia (blue-blind)
#002B28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042b20;
/* rgb */ color: rgb(4, 43, 32);
/* oklch */ color: oklch(25.9% 0.048 169.7);
Tailwind
colors: {
  custom: {
    50: '#4b645b',
    500: '#042b20',
    950: '#000000',
  },
}
SCSS
$custom: #042b20;
$custom-light: #4b645b;
$custom-dark: #000000;
JSON
{
  "hex": "#042b20",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 32
  },
  "hsl": {
    "h": 163.077,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25889,
    "c": 0.04765,
    "h": 169.7
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#042B20
secondary
#6E1D34
accent
#2E68F9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010504
muted
#777A79

Preview Lab

Preview with #042B20

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

Preview Lab → · Contrast checker → · Palette generator →

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