#04301C#04301C

#04301C is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.4% C 0.060 H 158.4°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#04301C
RGBrgb(4, 48, 28)
HSLhsl(153, 85%, 10%)
HSVhsv(153, 92%, 19%)
CMYKcmyk(91.7%, 0%, 41.7%, 81.2%)
CIE-LABlab(16.62, -20.52, 8.74)
CIE-LCHlch(16.62, 22.30, 156.92°)
OKLaboklab(27.41% -0.0555 0.022)
OKLCHoklch(27.41% 0.06 158.4)
XYZxyz(1.3165, 2.2234, 1.4582)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04301C #300418
analogous
#043006 #04301C #042E30
triadic
#04301C #1C0430 #301C04
tetradic
#04301C #060430 #300418 #2E3004
square
#04301C #060430 #300418 #2E3004
split-complementary
#04301C #30042E #300604
monochromatic
#021C10 #021C10 #04301C #09683D #0DA15E

Accessibility & contrast

On white

14.53
#04301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04301C
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04301C#FFFFFF#000000##FFFFFF
##04301C1.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04301c;
/* rgb */ color: rgb(4, 48, 28);
/* oklch */ color: oklch(27.4% 0.060 158.4);
Tailwind
colors: {
  custom: {
    50: '#4c6958',
    500: '#04301c',
    950: '#000000',
  },
}
SCSS
$custom: #04301c;
$custom-light: #4c6958;
$custom-dark: #000000;
JSON
{
  "hex": "#04301c",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 152.727,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27414,
    "c": 0.05976,
    "h": 158.4
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#04301C
secondary
#721D44
accent
#2D8BFB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #04301C

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

Preview Lab → · Contrast checker → · Palette generator →

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