#04390F#04390F

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

Color values

HEX#04390F
RGBrgb(4, 57, 15)
HSLhsl(132, 87%, 12%)
HSVhsv(132, 93%, 22%)
CMYKcmyk(93%, 0%, 73.7%, 77.6%)
CIE-LABlab(19.99, -27.00, 20.96)
CIE-LCHlch(19.99, 34.18, 142.18°)
OKLaboklab(30.13% -0.0727 0.0489)
OKLCHoklch(30.13% 0.088 146)
XYZxyz(1.5993, 2.9864, 0.9440)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04390F #39042E
analogous
#143904 #04390F #04392A
triadic
#04390F #0F0439 #390F04
tetradic
#04390F #041439 #39042E #392A04
square
#04390F #041439 #39042E #392A04
split-complementary
#04390F #2A0439 #390414
monochromatic
#021D08 #021D08 #04390F #08721E #0CAB2D

Accessibility & contrast

On white

13.15
#04390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04390F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04390F#FFFFFF#000000##FFFFFF
##04390F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04390f;
/* rgb */ color: rgb(4, 57, 15);
/* oklch */ color: oklch(30.1% 0.088 146.0);
Tailwind
colors: {
  custom: {
    50: '#50704f',
    500: '#04390f',
    950: '#000000',
  },
}
SCSS
$custom: #04390f;
$custom-light: #50704f;
$custom-dark: #000000;
JSON
{
  "hex": "#04390f",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 132.453,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30134,
    "c": 0.0876,
    "h": 146
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#04390F
secondary
#7B1E68
accent
#2BD1FD
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020702
muted
#787A78

Preview Lab

Preview with #04390F

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

Preview Lab → · Contrast checker → · Palette generator →

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