#04390C#04390C

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

Color values

HEX#04390C
RGBrgb(4, 57, 12)
HSLhsl(129, 87%, 12%)
HSVhsv(129, 93%, 22%)
CMYKcmyk(93%, 0%, 78.9%, 77.6%)
CIE-LABlab(19.96, -27.40, 22.40)
CIE-LCHlch(19.96, 35.39, 140.73°)
OKLaboklab(30.1% -0.0739 0.0518)
OKLCHoklch(30.1% 0.09 145)
XYZxyz(1.5794, 2.9784, 0.8394)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04390C #390431
analogous
#173904 #04390C #043927
triadic
#04390C #0C0439 #390C04
tetradic
#04390C #041739 #390431 #392704
square
#04390C #041739 #390431 #392704
split-complementary
#04390C #270439 #390417
monochromatic
#021D06 #021D06 #04390C #087218 #0CAB24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##04390C#FFFFFF#000000##FFFFFF
##04390C1.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)
#3A3306
Deuteranopia (green-blind)
#342F10
Tritanopia (blue-blind)
#003730
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #04390c;
/* rgb */ color: rgb(4, 57, 12);
/* oklch */ color: oklch(30.1% 0.090 145.0);
Tailwind
colors: {
  custom: {
    50: '#50704d',
    500: '#04390c',
    950: '#000000',
  },
}
SCSS
$custom: #04390c;
$custom-light: #50704d;
$custom-dark: #000000;
JSON
{
  "hex": "#04390c",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 129.057,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30097,
    "c": 0.0902,
    "h": 145
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#04390C
secondary
#7B1E6D
accent
#2BDDFD
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #04390C

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

Preview Lab → · Contrast checker → · Palette generator →

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