#04371E#04371E

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

Color values

HEX#04371E
RGBrgb(4, 55, 30)
HSLhsl(151, 86%, 12%)
HSVhsv(151, 93%, 22%)
CMYKcmyk(92.7%, 0%, 45.5%, 78.4%)
CIE-LABlab(19.44, -23.28, 11.20)
CIE-LCHlch(19.44, 25.84, 154.31°)
OKLaboklab(29.76% -0.0627 0.028)
OKLCHoklch(29.76% 0.069 156)
XYZxyz(1.6504, 2.8517, 1.6915)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04371E #37041D
analogous
#043704 #04371E #043737
triadic
#04371E #1E0437 #371E04
tetradic
#04371E #040437 #37041D #373704
square
#04371E #040437 #37041D #373704
split-complementary
#04371E #370437 #370404
monochromatic
#021D10 #021D10 #04371E #08703D #0CA95C

Accessibility & contrast

On white

13.37
#04371E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04371E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04371E#FFFFFF#000000##FFFFFF
##04371E1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04371e;
/* rgb */ color: rgb(4, 55, 30);
/* oklch */ color: oklch(29.8% 0.069 156.0);
Tailwind
colors: {
  custom: {
    50: '#4e6e5a',
    500: '#04371e',
    950: '#000000',
  },
}
SCSS
$custom: #04371e;
$custom-light: #4e6e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#04371e",
  "rgb": {
    "r": 4,
    "g": 55,
    "b": 30
  },
  "hsl": {
    "h": 150.588,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29758,
    "c": 0.06869,
    "h": 156
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#04371E
secondary
#791E4B
accent
#2B92FD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04371E

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

Preview Lab → · Contrast checker → · Palette generator →

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