#04371F#04371F

#04371F is a dark, moderate teal. Relative luminance 0.029; OKLCH L 29.8% C 0.068 H 156.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#04371F
RGBrgb(4, 55, 31)
HSLhsl(152, 86%, 12%)
HSVhsv(152, 93%, 22%)
CMYKcmyk(92.7%, 0%, 43.6%, 78.4%)
CIE-LABlab(19.46, -23.04, 10.57)
CIE-LCHlch(19.46, 25.35, 155.35°)
OKLaboklab(29.78% -0.0622 0.0265)
OKLCHoklch(29.78% 0.068 156.9)
XYZxyz(1.6634, 2.8569, 1.7598)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04371F #37041C
analogous
#043706 #04371F #043637
triadic
#04371F #1F0437 #371F04
tetradic
#04371F #060437 #37041C #363704
square
#04371F #060437 #37041C #363704
split-complementary
#04371F #370436 #370604
monochromatic
#021D10 #021D10 #04371F #08703F #0CA95F

Accessibility & contrast

On white

13.36
#04371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#04371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04371F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04371F#FFFFFF#000000##FFFFFF
##04371F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#312D21
Tritanopia (blue-blind)
#003631
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #04371f;
/* rgb */ color: rgb(4, 55, 31);
/* oklch */ color: oklch(29.8% 0.068 156.9);
Tailwind
colors: {
  custom: {
    50: '#4e6e5a',
    500: '#04371f',
    950: '#000000',
  },
}
SCSS
$custom: #04371f;
$custom-light: #4e6e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#04371f",
  "rgb": {
    "r": 4,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 151.765,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29783,
    "c": 0.06757,
    "h": 156.9
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#04371F
secondary
#791E49
accent
#2B8EFD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #04371F

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

Preview Lab → · Contrast checker → · Palette generator →

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