#04391E#04391E

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

Color values

HEX#04391E
RGBrgb(4, 57, 30)
HSLhsl(149, 87%, 12%)
HSVhsv(149, 93%, 22%)
CMYKcmyk(93%, 0%, 47.4%, 77.6%)
CIE-LABlab(20.23, -24.18, 12.24)
CIE-LCHlch(20.23, 27.10, 153.16°)
OKLaboklab(30.41% -0.0651 0.0304)
OKLCHoklch(30.41% 0.072 154.9)
XYZxyz(1.7474, 3.0456, 1.7238)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04391E #39041F
analogous
#053904 #04391E #043939
triadic
#04391E #1E0439 #391E04
tetradic
#04391E #040539 #39041F #393904
square
#04391E #040539 #39041F #393904
split-complementary
#04391E #390439 #390405
monochromatic
#021D0F #021D0F #04391E #08723C #0CAB5A

Accessibility & contrast

On white

13.05
#04391E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04391E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04391E#FFFFFF#000000##FFFFFF
##04391E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04391e;
/* rgb */ color: rgb(4, 57, 30);
/* oklch */ color: oklch(30.4% 0.072 154.9);
Tailwind
colors: {
  custom: {
    50: '#4f705a',
    500: '#04391e',
    950: '#000000',
  },
}
SCSS
$custom: #04391e;
$custom-light: #4f705a;
$custom-dark: #000000;
JSON
{
  "hex": "#04391e",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 30
  },
  "hsl": {
    "h": 149.434,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30407,
    "c": 0.07183,
    "h": 154.9
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#04391E
secondary
#7B1E4D
accent
#2B96FD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04391E

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

Preview Lab → · Contrast checker → · Palette generator →

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