#04201E#04201E

#04201E is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.2% C 0.034 H 188.4°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#04201E
RGBrgb(4, 32, 30)
HSLhsl(176, 78%, 7%)
HSVhsv(176, 88%, 13%)
CMYKcmyk(87.5%, 0%, 6.2%, 87.5%)
CIE-LABlab(10.20, -11.17, -1.77)
CIE-LCHlch(10.20, 11.31, 189.01°)
OKLaboklab(22.17% -0.0336 -0.005)
OKLCHoklch(22.17% 0.034 188.4)
XYZxyz(0.8008, 1.1525, 1.4083)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04201E #200406
analogous
#042010 #04201E #041420
triadic
#04201E #1E0420 #201E04
tetradic
#04201E #100420 #200406 #142004
square
#04201E #100420 #200406 #142004
split-complementary
#04201E #200414 #201004
monochromatic
#031B19 #031B19 #04201E #0B5651 #128D84

Accessibility & contrast

On white

17.06
#04201E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#04201E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04201E
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04201E#FFFFFF#000000##FFFFFF
##04201E1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1E1E
Deuteranopia (green-blind)
#191B1E
Tritanopia (blue-blind)
#00211F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #04201e;
/* rgb */ color: rgb(4, 32, 30);
/* oklch */ color: oklch(22.2% 0.034 188.4);
Tailwind
colors: {
  custom: {
    50: '#485b59',
    500: '#04201e',
    950: '#000000',
  },
}
SCSS
$custom: #04201e;
$custom-light: #485b59;
$custom-dark: #000000;
JSON
{
  "hex": "#04201e",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 30
  },
  "hsl": {
    "h": 175.714,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22174,
    "c": 0.03397,
    "h": 188.4
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#04201E
secondary
#631D22
accent
#3441F4
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #04201E

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

Preview Lab → · Contrast checker → · Palette generator →

#04201E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva