#04311E#04311E

#04311E is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.059 H 160.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#04311E
RGBrgb(4, 49, 30)
HSLhsl(155, 85%, 10%)
HSVhsv(155, 92%, 19%)
CMYKcmyk(91.8%, 0%, 38.8%, 80.8%)
CIE-LABlab(17.07, -20.47, 8.00)
CIE-LCHlch(17.07, 21.97, 158.65°)
OKLaboklab(27.8% -0.0556 0.0202)
OKLCHoklch(27.8% 0.059 160)
XYZxyz(1.3826, 2.3160, 1.6022)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04311E #310417
analogous
#043108 #04311E #042D31
triadic
#04311E #1E0431 #311E04
tetradic
#04311E #080431 #310417 #2D3104
square
#04311E #080431 #310417 #2D3104
split-complementary
#04311E #31042D #310804
monochromatic
#021C11 #021C11 #04311E #096A41 #0DA263

Accessibility & contrast

On white

14.35
#04311E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#04311E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04311E
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04311E#FFFFFF#000000##FFFFFF
##04311E1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1D
Deuteranopia (green-blind)
#2B281F
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #04311e;
/* rgb */ color: rgb(4, 49, 30);
/* oklch */ color: oklch(27.8% 0.059 160.0);
Tailwind
colors: {
  custom: {
    50: '#4c6959',
    500: '#04311e',
    950: '#000000',
  },
}
SCSS
$custom: #04311e;
$custom-light: #4c6959;
$custom-dark: #000000;
JSON
{
  "hex": "#04311e",
  "rgb": {
    "r": 4,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 154.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27798,
    "c": 0.05914,
    "h": 160
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#04311E
secondary
#731D42
accent
#2D84FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #04311E

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

Preview Lab → · Contrast checker → · Palette generator →

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