#04390A#04390A

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

Color values

HEX#04390A
RGBrgb(4, 57, 10)
HSLhsl(127, 87%, 12%)
HSVhsv(127, 93%, 22%)
CMYKcmyk(93%, 0%, 82.5%, 77.6%)
CIE-LABlab(19.94, -27.63, 23.24)
CIE-LCHlch(19.94, 36.10, 139.93°)
OKLaboklab(30.08% -0.0746 0.0535)
OKLCHoklch(30.08% 0.092 144.4)
XYZxyz(1.5679, 2.9738, 0.7785)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04390A #390433
analogous
#193904 #04390A #043925
triadic
#04390A #0A0439 #390A04
tetradic
#04390A #041939 #390433 #392504
square
#04390A #041939 #390433 #392504
split-complementary
#04390A #250439 #390419
monochromatic
#021D05 #021D05 #04390A #087214 #0CAB1E

Accessibility & contrast

On white

13.17
#04390A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#04390A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04390A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04390A#FFFFFF#000000##FFFFFF
##04390A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3304
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#003730
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #04390a;
/* rgb */ color: rgb(4, 57, 10);
/* oklch */ color: oklch(30.1% 0.092 144.4);
Tailwind
colors: {
  custom: {
    50: '#50704c',
    500: '#04390a',
    950: '#000000',
  },
}
SCSS
$custom: #04390a;
$custom-light: #50704c;
$custom-dark: #000000;
JSON
{
  "hex": "#04390a",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 10
  },
  "hsl": {
    "h": 126.792,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30076,
    "c": 0.09178,
    "h": 144.4
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#04390A
secondary
#7B1E70
accent
#2BE5FD
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #04390A

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

Preview Lab → · Contrast checker → · Palette generator →

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