#04370F#04370F

#04370F is a dark, moderate green. Relative luminance 0.028; OKLCH L 29.5% C 0.085 H 146.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#04370F
RGBrgb(4, 55, 15)
HSLhsl(133, 86%, 12%)
HSVhsv(133, 93%, 22%)
CMYKcmyk(92.7%, 0%, 72.7%, 78.4%)
CIE-LABlab(19.19, -26.21, 20.05)
CIE-LCHlch(19.19, 33.00, 142.58°)
OKLaboklab(29.47% -0.0705 0.047)
OKLCHoklch(29.47% 0.085 146.3)
XYZxyz(1.5024, 2.7925, 0.9117)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04370F #37042C
analogous
#133704 #04370F #043729
triadic
#04370F #0F0437 #370F04
tetradic
#04370F #041337 #37042C #372904
square
#04370F #041337 #37042C #372904
split-complementary
#04370F #290437 #370413
monochromatic
#021D08 #021D08 #04370F #08701F #0CA92E

Accessibility & contrast

On white

13.47
#04370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#04370F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04370F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04370F#FFFFFF#000000##FFFFFF
##04370F1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310A
Deuteranopia (green-blind)
#322D12
Tritanopia (blue-blind)
#00352F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #04370f;
/* rgb */ color: rgb(4, 55, 15);
/* oklch */ color: oklch(29.5% 0.085 146.3);
Tailwind
colors: {
  custom: {
    50: '#4f6e4f',
    500: '#04370f',
    950: '#000000',
  },
}
SCSS
$custom: #04370f;
$custom-light: #4f6e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#04370f",
  "rgb": {
    "r": 4,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 132.941,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29473,
    "c": 0.08474,
    "h": 146.3
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#04370F
secondary
#791E65
accent
#2BCFFD
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020702
muted
#787A78

Preview Lab

Preview with #04370F

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

Preview Lab → · Contrast checker → · Palette generator →

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