#042F22#042F22

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

Color values

HEX#042F22
RGBrgb(4, 47, 34)
HSLhsl(162, 84%, 10%)
HSVhsv(162, 91%, 18%)
CMYKcmyk(91.5%, 0%, 27.7%, 81.6%)
CIE-LABlab(16.38, -18.31, 4.30)
CIE-LCHlch(16.38, 18.81, 166.78°)
OKLaboklab(27.27% -0.0507 0.011)
OKLCHoklch(27.27% 0.052 167.8)
XYZxyz(1.3552, 2.1742, 1.8613)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F22 #2F0411
analogous
#042F0C #042F22 #04272F
triadic
#042F22 #22042F #2F2204
tetradic
#042F22 #0C042F #2F0411 #272F04
square
#042F22 #0C042F #2F0411 #272F04
split-complementary
#042F22 #2F0427 #2F0C04
monochromatic
#021C14 #021C14 #042F22 #09674B #0EA074

Accessibility & contrast

On white

14.64
#042F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042F22
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F22#FFFFFF#000000##FFFFFF
##042F221.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B21
Deuteranopia (green-blind)
#282723
Tritanopia (blue-blind)
#002F2B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #042f22;
/* rgb */ color: rgb(4, 47, 34);
/* oklch */ color: oklch(27.3% 0.052 167.8);
Tailwind
colors: {
  custom: {
    50: '#4c685d',
    500: '#042f22',
    950: '#000000',
  },
}
SCSS
$custom: #042f22;
$custom-light: #4c685d;
$custom-dark: #000000;
JSON
{
  "hex": "#042f22",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 161.86,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27266,
    "c": 0.05187,
    "h": 167.8
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#042F22
secondary
#721D37
accent
#2D6BFB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #042F22

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

Preview Lab → · Contrast checker → · Palette generator →

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