#04301E#04301E

#04301E is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.5% C 0.058 H 160.8°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#04301E
RGBrgb(4, 48, 30)
HSLhsl(155, 85%, 10%)
HSVhsv(155, 92%, 19%)
CMYKcmyk(91.7%, 0%, 37.5%, 81.2%)
CIE-LABlab(16.67, -19.98, 7.45)
CIE-LCHlch(16.67, 21.33, 159.54°)
OKLaboklab(27.47% -0.0543 0.0189)
OKLCHoklch(27.47% 0.058 160.8)
XYZxyz(1.3412, 2.2333, 1.5884)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04301E #300416
analogous
#043008 #04301E #042C30
triadic
#04301E #1E0430 #301E04
tetradic
#04301E #080430 #300416 #2C3004
square
#04301E #080430 #300416 #2C3004
split-complementary
#04301E #30042C #300804
monochromatic
#021C12 #021C12 #04301E #096841 #0DA165

Accessibility & contrast

On white

14.52
#04301E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#04301E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04301E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04301E#FFFFFF#000000##FFFFFF
##04301E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1D
Deuteranopia (green-blind)
#2A281F
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #04301e;
/* rgb */ color: rgb(4, 48, 30);
/* oklch */ color: oklch(27.5% 0.058 160.8);
Tailwind
colors: {
  custom: {
    50: '#4c6959',
    500: '#04301e',
    950: '#000000',
  },
}
SCSS
$custom: #04301e;
$custom-light: #4c6959;
$custom-dark: #000000;
JSON
{
  "hex": "#04301e",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 30
  },
  "hsl": {
    "h": 155.455,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2747,
    "c": 0.05754,
    "h": 160.8
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#04301E
secondary
#721D40
accent
#2D81FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #04301E

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

Preview Lab → · Contrast checker → · Palette generator →

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