#04391A#04391A

#04391A is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.076 H 151.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#04391A
RGBrgb(4, 57, 26)
HSLhsl(145, 87%, 12%)
HSVhsv(145, 93%, 22%)
CMYKcmyk(93%, 0%, 54.4%, 77.6%)
CIE-LABlab(20.15, -25.07, 14.69)
CIE-LCHlch(20.15, 29.05, 149.64°)
OKLaboklab(30.32% -0.0673 0.036)
OKLCHoklch(30.32% 0.076 151.9)
XYZxyz(1.6995, 3.0264, 1.4717)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04391A #390423
analogous
#083904 #04391A #043935
triadic
#04391A #1A0439 #391A04
tetradic
#04391A #040839 #390423 #393504
square
#04391A #040839 #390423 #393504
split-complementary
#04391A #350439 #390408
monochromatic
#021D0D #021D0D #04391A #087234 #0CAB4E

Accessibility & contrast

On white

13.08
#04391A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04391A
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04391A#FFFFFF#000000##FFFFFF
##04391A1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393318
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #04391a;
/* rgb */ color: rgb(4, 57, 26);
/* oklch */ color: oklch(30.3% 0.076 151.9);
Tailwind
colors: {
  custom: {
    50: '#4f7057',
    500: '#04391a',
    950: '#000000',
  },
}
SCSS
$custom: #04391a;
$custom-light: #4f7057;
$custom-dark: #000000;
JSON
{
  "hex": "#04391a",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 26
  },
  "hsl": {
    "h": 144.906,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30319,
    "c": 0.07629,
    "h": 151.9
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#04391A
secondary
#7B1E54
accent
#2BA6FD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04391A

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

Preview Lab → · Contrast checker → · Palette generator →

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