#04301F#04301F

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

Color values

HEX#04301F
RGBrgb(4, 48, 31)
HSLhsl(157, 85%, 10%)
HSVhsv(157, 92%, 19%)
CMYKcmyk(91.7%, 0%, 35.4%, 81.2%)
CIE-LABlab(16.69, -19.70, 6.81)
CIE-LCHlch(16.69, 20.84, 160.94°)
OKLaboklab(27.5% -0.0537 0.0173)
OKLCHoklch(27.5% 0.056 162.2)
XYZxyz(1.3542, 2.2385, 1.6568)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04301F #300415
analogous
#043009 #04301F #042B30
triadic
#04301F #1F0430 #301F04
tetradic
#04301F #090430 #300415 #2B3004
square
#04301F #090430 #300415 #2B3004
split-complementary
#04301F #30042B #300904
monochromatic
#021C12 #021C12 #04301F #096843 #0DA168

Accessibility & contrast

On white

14.50
#04301F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04301F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04301F#FFFFFF#000000##FFFFFF
##04301F1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04301f;
/* rgb */ color: rgb(4, 48, 31);
/* oklch */ color: oklch(27.5% 0.056 162.2);
Tailwind
colors: {
  custom: {
    50: '#4c695a',
    500: '#04301f',
    950: '#000000',
  },
}
SCSS
$custom: #04301f;
$custom-light: #4c695a;
$custom-dark: #000000;
JSON
{
  "hex": "#04301f",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 31
  },
  "hsl": {
    "h": 156.818,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27499,
    "c": 0.05647,
    "h": 162.2
  },
  "luminance": 0.02239
}

Semantic roles & 50–950 ramp

primary
#04301F
secondary
#721D3E
accent
#2D7CFB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #04301F

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

Preview Lab → · Contrast checker → · Palette generator →

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