#04391C#04391C

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

Color values

HEX#04391C
RGBrgb(4, 57, 28)
HSLhsl(147, 87%, 12%)
HSVhsv(147, 93%, 22%)
CMYKcmyk(93%, 0%, 50.9%, 77.6%)
CIE-LABlab(20.19, -24.64, 13.47)
CIE-LCHlch(20.19, 28.08, 151.34°)
OKLaboklab(30.36% -0.0662 0.0333)
OKLCHoklch(30.36% 0.074 153.3)
XYZxyz(1.7226, 3.0357, 1.5935)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04391C #390421
analogous
#073904 #04391C #043937
triadic
#04391C #1C0439 #391C04
tetradic
#04391C #040739 #390421 #393704
square
#04391C #040739 #390421 #393704
split-complementary
#04391C #370439 #390407
monochromatic
#021D0E #021D0E #04391C #087238 #0CAB54

Accessibility & contrast

On white

13.07
#04391C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04391C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04391C#FFFFFF#000000##FFFFFF
##04391C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04391c;
/* rgb */ color: rgb(4, 57, 28);
/* oklch */ color: oklch(30.4% 0.074 153.3);
Tailwind
colors: {
  custom: {
    50: '#4f7058',
    500: '#04391c',
    950: '#000000',
  },
}
SCSS
$custom: #04391c;
$custom-light: #4f7058;
$custom-dark: #000000;
JSON
{
  "hex": "#04391c",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 28
  },
  "hsl": {
    "h": 147.17,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30362,
    "c": 0.07407,
    "h": 153.3
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#04391C
secondary
#7B1E51
accent
#2B9EFD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04391C

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

Preview Lab → · Contrast checker → · Palette generator →

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