#04301A#04301A

#04301A is a dark, moderate teal. Relative luminance 0.022; OKLCH L 27.4% C 0.062 H 156.2°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#04301A
RGBrgb(4, 48, 26)
HSLhsl(150, 85%, 10%)
HSVhsv(150, 92%, 19%)
CMYKcmyk(91.7%, 0%, 45.8%, 81.2%)
CIE-LABlab(16.57, -21.03, 10.03)
CIE-LCHlch(16.57, 23.30, 154.51°)
OKLaboklab(27.36% -0.0567 0.0251)
OKLCHoklch(27.36% 0.062 156.2)
XYZxyz(1.2933, 2.2141, 1.3363)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04301A #30041A
analogous
#043004 #04301A #043030
triadic
#04301A #1A0430 #301A04
tetradic
#04301A #040430 #30041A #303004
square
#04301A #040430 #30041A #303004
split-complementary
#04301A #300430 #300404
monochromatic
#021C0F #021C0F #04301A #096839 #0DA157

Accessibility & contrast

On white

14.56
#04301A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#04301A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04301A
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04301A#FFFFFF#000000##FFFFFF
##04301A1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B19
Deuteranopia (green-blind)
#2A271B
Tritanopia (blue-blind)
#002F2A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #04301a;
/* rgb */ color: rgb(4, 48, 26);
/* oklch */ color: oklch(27.4% 0.062 156.2);
Tailwind
colors: {
  custom: {
    50: '#4c6956',
    500: '#04301a',
    950: '#000000',
  },
}
SCSS
$custom: #04301a;
$custom-light: #4c6956;
$custom-dark: #000000;
JSON
{
  "hex": "#04301a",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 26
  },
  "hsl": {
    "h": 150,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27362,
    "c": 0.06204,
    "h": 156.2
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#04301A
secondary
#721D48
accent
#2D94FB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #04301A

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

Preview Lab → · Contrast checker → · Palette generator →

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