#04321F#04321F

#04321F is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.2% C 0.060 H 160.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#04321F
RGBrgb(4, 50, 31)
HSLhsl(155, 85%, 11%)
HSVhsv(155, 92%, 20%)
CMYKcmyk(92%, 0%, 38%, 80.4%)
CIE-LABlab(17.49, -20.68, 7.90)
CIE-LCHlch(17.49, 22.14, 159.09°)
OKLaboklab(28.15% -0.0562 0.02)
OKLCHoklch(28.15% 0.06 160.4)
XYZxyz(1.4378, 2.4058, 1.6846)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04321F #320417
analogous
#043208 #04321F #042E32
triadic
#04321F #1F0432 #321F04
tetradic
#04321F #080432 #320417 #2E3204
square
#04321F #080432 #320417 #2E3204
split-complementary
#04321F #32042E #320804
monochromatic
#021C12 #021C12 #04321F #096B42 #0DA365

Accessibility & contrast

On white

14.18
#04321F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04321F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04321F#FFFFFF#000000##FFFFFF
##04321F1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#2C2920
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #04321f;
/* rgb */ color: rgb(4, 50, 31);
/* oklch */ color: oklch(28.2% 0.060 160.4);
Tailwind
colors: {
  custom: {
    50: '#4d6a5a',
    500: '#04321f',
    950: '#000000',
  },
}
SCSS
$custom: #04321f;
$custom-light: #4d6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#04321f",
  "rgb": {
    "r": 4,
    "g": 50,
    "b": 31
  },
  "hsl": {
    "h": 155.217,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28154,
    "c": 0.05964,
    "h": 160.4
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#04321F
secondary
#741D41
accent
#2C82FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #04321F

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

Preview Lab → · Contrast checker → · Palette generator →

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