#04351F#04351F

#04351F is a dark, moderate teal. Relative luminance 0.027; OKLCH L 29.1% C 0.064 H 158.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#04351F
RGBrgb(4, 53, 31)
HSLhsl(153, 86%, 11%)
HSVhsv(153, 92%, 21%)
CMYKcmyk(92.5%, 0%, 41.5%, 79.2%)
CIE-LABlab(18.67, -22.11, 9.51)
CIE-LCHlch(18.67, 24.07, 156.72°)
OKLaboklab(29.13% -0.0598 0.0239)
OKLCHoklch(29.13% 0.064 158.2)
XYZxyz(1.5703, 2.6708, 1.7288)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04351F #35041A
analogous
#043506 #04351F #043235
triadic
#04351F #1F0435 #351F04
tetradic
#04351F #060435 #35041A #323504
square
#04351F #060435 #35041A #323504
split-complementary
#04351F #350432 #350604
monochromatic
#021C11 #021C11 #04351F #086E40 #0DA762

Accessibility & contrast

On white

13.69
#04351F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#04351F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04351F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04351F#FFFFFF#000000##FFFFFF
##04351F1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#2F2C20
Tritanopia (blue-blind)
#00352F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04351f;
/* rgb */ color: rgb(4, 53, 31);
/* oklch */ color: oklch(29.1% 0.064 158.2);
Tailwind
colors: {
  custom: {
    50: '#4e6d5a',
    500: '#04351f',
    950: '#000000',
  },
}
SCSS
$custom: #04351f;
$custom-light: #4e6d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#04351f",
  "rgb": {
    "r": 4,
    "g": 53,
    "b": 31
  },
  "hsl": {
    "h": 153.061,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29132,
    "c": 0.06441,
    "h": 158.2
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#04351F
secondary
#771E46
accent
#2C89FC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020704
muted
#787A79

Preview Lab

Preview with #04351F

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

Preview Lab → · Contrast checker → · Palette generator →

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