#04391B#04391B

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

Color values

HEX#04391B
RGBrgb(4, 57, 27)
HSLhsl(146, 87%, 12%)
HSVhsv(146, 93%, 22%)
CMYKcmyk(93%, 0%, 52.6%, 77.6%)
CIE-LABlab(20.17, -24.86, 14.08)
CIE-LCHlch(20.17, 28.57, 150.47°)
OKLaboklab(30.34% -0.0667 0.0346)
OKLCHoklch(30.34% 0.075 152.6)
XYZxyz(1.7109, 3.0310, 1.5316)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04391B #390422
analogous
#073904 #04391B #043936
triadic
#04391B #1B0439 #391B04
tetradic
#04391B #040739 #390422 #393604
square
#04391B #040739 #390422 #393604
split-complementary
#04391B #360439 #390407
monochromatic
#021D0E #021D0E #04391B #087236 #0CAB51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##04391B#FFFFFF#000000##FFFFFF
##04391B1.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)
#393319
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #04391b;
/* rgb */ color: rgb(4, 57, 27);
/* oklch */ color: oklch(30.3% 0.075 152.6);
Tailwind
colors: {
  custom: {
    50: '#4f7057',
    500: '#04391b',
    950: '#000000',
  },
}
SCSS
$custom: #04391b;
$custom-light: #4f7057;
$custom-dark: #000000;
JSON
{
  "hex": "#04391b",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 27
  },
  "hsl": {
    "h": 146.038,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.07518,
    "h": 152.6
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#04391B
secondary
#7B1E53
accent
#2BA2FD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04391B

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

Preview Lab → · Contrast checker → · Palette generator →

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