#042F20#042F20

#042F20 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.2% C 0.054 H 164.6°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#042F20
RGBrgb(4, 47, 32)
HSLhsl(159, 84%, 10%)
HSVhsv(159, 91%, 18%)
CMYKcmyk(91.5%, 0%, 31.9%, 81.6%)
CIE-LABlab(16.32, -18.91, 5.60)
CIE-LCHlch(16.32, 19.72, 163.50°)
OKLaboklab(27.2% -0.0519 0.0143)
OKLCHoklch(27.2% 0.054 164.6)
XYZxyz(1.3271, 2.1630, 1.7138)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F20 #2F0413
analogous
#042F0B #042F20 #04282F
triadic
#042F20 #20042F #2F2004
tetradic
#042F20 #0B042F #2F0413 #282F04
square
#042F20 #0B042F #2F0413 #282F04
split-complementary
#042F20 #2F0428 #2F0B04
monochromatic
#021C13 #021C13 #042F20 #096746 #0EA06D

Accessibility & contrast

On white

14.66
#042F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042F20
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F20#FFFFFF#000000##FFFFFF
##042F201.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1F
Deuteranopia (green-blind)
#282721
Tritanopia (blue-blind)
#002F2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042f20;
/* rgb */ color: rgb(4, 47, 32);
/* oklch */ color: oklch(27.2% 0.054 164.6);
Tailwind
colors: {
  custom: {
    50: '#4c685b',
    500: '#042f20',
    950: '#000000',
  },
}
SCSS
$custom: #042f20;
$custom-light: #4c685b;
$custom-dark: #000000;
JSON
{
  "hex": "#042f20",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 32
  },
  "hsl": {
    "h": 159.07,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27202,
    "c": 0.05384,
    "h": 164.6
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#042F20
secondary
#721D3B
accent
#2D75FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #042F20

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

Preview Lab → · Contrast checker → · Palette generator →

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