#04390B#04390B

#04390B is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.1% C 0.091 H 144.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#04390B
RGBrgb(4, 57, 11)
HSLhsl(128, 87%, 12%)
HSVhsv(128, 93%, 22%)
CMYKcmyk(93%, 0%, 80.7%, 77.6%)
CIE-LABlab(19.95, -27.51, 22.84)
CIE-LCHlch(19.95, 35.76, 140.31°)
OKLaboklab(30.09% -0.0742 0.0526)
OKLCHoklch(30.09% 0.091 144.7)
XYZxyz(1.5735, 2.9760, 0.8080)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04390B #390432
analogous
#183904 #04390B #043926
triadic
#04390B #0B0439 #390B04
tetradic
#04390B #041839 #390432 #392604
square
#04390B #041839 #390432 #392604
split-complementary
#04390B #260439 #390418
monochromatic
#021D06 #021D06 #04390B #087216 #0CAB21

Accessibility & contrast

On white

13.16
#04390B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#04390B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04390B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04390B#FFFFFF#000000##FFFFFF
##04390B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3305
Deuteranopia (green-blind)
#342F10
Tritanopia (blue-blind)
#003730
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #04390b;
/* rgb */ color: rgb(4, 57, 11);
/* oklch */ color: oklch(30.1% 0.091 144.7);
Tailwind
colors: {
  custom: {
    50: '#50704d',
    500: '#04390b',
    950: '#000000',
  },
}
SCSS
$custom: #04390b;
$custom-light: #50704d;
$custom-dark: #000000;
JSON
{
  "hex": "#04390b",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 11
  },
  "hsl": {
    "h": 127.925,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30086,
    "c": 0.09101,
    "h": 144.7
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#04390B
secondary
#7B1E6F
accent
#2BE1FD
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #04390B

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

Preview Lab → · Contrast checker → · Palette generator →

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