#04391D#04391D

#04391D is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.4% C 0.073 H 154.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#04391D
RGBrgb(4, 57, 29)
HSLhsl(148, 87%, 12%)
HSVhsv(148, 93%, 22%)
CMYKcmyk(93%, 0%, 49.1%, 77.6%)
CIE-LABlab(20.21, -24.41, 12.86)
CIE-LCHlch(20.21, 27.59, 152.23°)
OKLaboklab(30.38% -0.0656 0.0319)
OKLCHoklch(30.38% 0.073 154.1)
XYZxyz(1.7348, 3.0406, 1.6576)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04391D #390420
analogous
#063904 #04391D #043938
triadic
#04391D #1D0439 #391D04
tetradic
#04391D #040639 #390420 #393804
square
#04391D #040639 #390420 #393804
split-complementary
#04391D #380439 #390406
monochromatic
#021D0F #021D0F #04391D #08723A #0CAB57

Accessibility & contrast

On white

13.06
#04391D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#04391D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04391D
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04391D#FFFFFF#000000##FFFFFF
##04391D1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331B
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #04391d;
/* rgb */ color: rgb(4, 57, 29);
/* oklch */ color: oklch(30.4% 0.073 154.1);
Tailwind
colors: {
  custom: {
    50: '#4f7059',
    500: '#04391d',
    950: '#000000',
  },
}
SCSS
$custom: #04391d;
$custom-light: #4f7059;
$custom-dark: #000000;
JSON
{
  "hex": "#04391d",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 29
  },
  "hsl": {
    "h": 148.302,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30384,
    "c": 0.07295,
    "h": 154.1
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#04391D
secondary
#7B1E4F
accent
#2B9AFD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04391D

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

Preview Lab → · Contrast checker → · Palette generator →

#04391D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva