#04291C#04291C

#04291C is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.1% C 0.048 H 165.1°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#04291C
RGBrgb(4, 41, 28)
HSLhsl(159, 82%, 9%)
HSVhsv(159, 90%, 16%)
CMYKcmyk(90.2%, 0%, 31.7%, 83.9%)
CIE-LABlab(13.80, -17.00, 4.86)
CIE-LCHlch(13.80, 17.68, 164.05°)
OKLaboklab(25.09% -0.0468 0.0124)
OKLCHoklch(25.09% 0.048 165.1)
XYZxyz(1.0525, 1.6954, 1.3702)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04291C #290411
analogous
#04290A #04291C #042429
triadic
#04291C #1C0429 #291C04
tetradic
#04291C #0A0429 #290411 #242904
square
#04291C #0A0429 #290411 #242904
split-complementary
#04291C #290424 #290A04
monochromatic
#031C13 #031C13 #04291C #096142 #0F9968

Accessibility & contrast

On white

15.68
#04291C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#04291C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04291C
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04291C#FFFFFF#000000##FFFFFF
##04291C1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#23221D
Tritanopia (blue-blind)
#002925
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #04291c;
/* rgb */ color: rgb(4, 41, 28);
/* oklch */ color: oklch(25.1% 0.048 165.1);
Tailwind
colors: {
  custom: {
    50: '#4a6358',
    500: '#04291c',
    950: '#000000',
  },
}
SCSS
$custom: #04291c;
$custom-light: #4a6358;
$custom-dark: #000000;
JSON
{
  "hex": "#04291c",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 158.919,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25094,
    "c": 0.0484,
    "h": 165.1
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#04291C
secondary
#6C1D39
accent
#2F76F9
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #04291C

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

Preview Lab → · Contrast checker → · Palette generator →

#04291C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva