#042C20#042C20

#042C20 is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.2% C 0.049 H 168.3°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#042C20
RGBrgb(4, 44, 32)
HSLhsl(162, 83%, 9%)
HSVhsv(162, 91%, 17%)
CMYKcmyk(90.9%, 0%, 27.3%, 82.7%)
CIE-LABlab(15.12, -17.36, 3.92)
CIE-LCHlch(15.12, 17.79, 167.29°)
OKLaboklab(26.22% -0.0481 0.01)
OKLCHoklch(26.22% 0.049 168.3)
XYZxyz(1.2113, 1.9313, 1.6752)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C20 #2C0410
analogous
#042C0C #042C20 #04242C
triadic
#042C20 #20042C #2C2004
tetradic
#042C20 #0C042C #2C0410 #242C04
square
#042C20 #0C042C #2C0410 #242C04
split-complementary
#042C20 #2C0424 #2C0C04
monochromatic
#031C14 #031C14 #042C20 #096449 #0E9C72

Accessibility & contrast

On white

15.15
#042C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#042C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C20
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C20#FFFFFF#000000##FFFFFF
##042C201.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281F
Deuteranopia (green-blind)
#252421
Tritanopia (blue-blind)
#002C29
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042c20;
/* rgb */ color: rgb(4, 44, 32);
/* oklch */ color: oklch(26.2% 0.049 168.3);
Tailwind
colors: {
  custom: {
    50: '#4b655b',
    500: '#042c20',
    950: '#000000',
  },
}
SCSS
$custom: #042c20;
$custom-light: #4b655b;
$custom-dark: #000000;
JSON
{
  "hex": "#042c20",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 32
  },
  "hsl": {
    "h": 162,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26218,
    "c": 0.04918,
    "h": 168.3
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#042C20
secondary
#6F1D36
accent
#2E6BFA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010504
muted
#777A79

Preview Lab

Preview with #042C20

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

Preview Lab → · Contrast checker → · Palette generator →

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