#04321C#04321C

#04321C is a dark, moderate teal. Relative luminance 0.024; OKLCH L 28.1% C 0.063 H 157.0°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#04321C
RGBrgb(4, 50, 28)
HSLhsl(151, 85%, 11%)
HSVhsv(151, 92%, 20%)
CMYKcmyk(92%, 0%, 44%, 80.4%)
CIE-LABlab(17.42, -21.47, 9.82)
CIE-LCHlch(17.42, 23.61, 155.42°)
OKLaboklab(28.07% -0.058 0.0246)
OKLCHoklch(28.07% 0.063 157)
XYZxyz(1.4001, 2.3907, 1.4860)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04321C #32041A
analogous
#043205 #04321C #043132
triadic
#04321C #1C0432 #321C04
tetradic
#04321C #050432 #32041A #313204
square
#04321C #050432 #32041A #313204
split-complementary
#04321C #320431 #320504
monochromatic
#021C10 #021C10 #04321C #096B3C #0DA35B

Accessibility & contrast

On white

14.21
#04321C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#04321C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04321C
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04321C#FFFFFF#000000##FFFFFF
##04321C1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D1B
Deuteranopia (green-blind)
#2C291D
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #04321c;
/* rgb */ color: rgb(4, 50, 28);
/* oklch */ color: oklch(28.1% 0.063 157.0);
Tailwind
colors: {
  custom: {
    50: '#4d6a58',
    500: '#04321c',
    950: '#000000',
  },
}
SCSS
$custom: #04321c;
$custom-light: #4d6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#04321c",
  "rgb": {
    "r": 4,
    "g": 50,
    "b": 28
  },
  "hsl": {
    "h": 151.304,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28073,
    "c": 0.06299,
    "h": 157
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#04321C
secondary
#741D47
accent
#2C8FFB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #04321C

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

Preview Lab → · Contrast checker → · Palette generator →

#04321C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva