#04291A#04291A

#04291A is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.0% C 0.051 H 161.9°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#04291A
RGBrgb(4, 41, 26)
HSLhsl(156, 82%, 9%)
HSVhsv(156, 90%, 16%)
CMYKcmyk(90.2%, 0%, 36.6%, 83.9%)
CIE-LABlab(13.75, -17.59, 6.19)
CIE-LCHlch(13.75, 18.64, 160.62°)
OKLaboklab(25.03% -0.048 0.0157)
OKLCHoklch(25.03% 0.051 161.9)
XYZxyz(1.0294, 1.6861, 1.2483)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04291A #290413
analogous
#042908 #04291A #042629
triadic
#04291A #1A0429 #291A04
tetradic
#04291A #080429 #290413 #262904
square
#04291A #080429 #290413 #262904
split-complementary
#04291A #290426 #290804
monochromatic
#031C12 #031C12 #04291A #09613D #0F9961

Accessibility & contrast

On white

15.70
#04291A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04291A
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04291A#FFFFFF#000000##FFFFFF
##04291A1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04291a;
/* rgb */ color: rgb(4, 41, 26);
/* oklch */ color: oklch(25.0% 0.051 161.9);
Tailwind
colors: {
  custom: {
    50: '#4a6356',
    500: '#04291a',
    950: '#000000',
  },
}
SCSS
$custom: #04291a;
$custom-light: #4a6356;
$custom-dark: #000000;
JSON
{
  "hex": "#04291a",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 26
  },
  "hsl": {
    "h": 155.676,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25031,
    "c": 0.05053,
    "h": 161.9
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#04291A
secondary
#6C1D3D
accent
#2F81F9
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #04291A

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

Preview Lab → · Contrast checker → · Palette generator →

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