#04370D#04370D

#04370D is a dark, moderate green. Relative luminance 0.028; OKLCH L 29.4% C 0.087 H 145.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#04370D
RGBrgb(4, 55, 13)
HSLhsl(131, 86%, 12%)
HSVhsv(131, 93%, 22%)
CMYKcmyk(92.7%, 0%, 76.4%, 78.4%)
CIE-LABlab(19.17, -26.49, 21.03)
CIE-LCHlch(19.17, 33.83, 141.55°)
OKLaboklab(29.45% -0.0714 0.049)
OKLCHoklch(29.45% 0.087 145.5)
XYZxyz(1.4888, 2.7871, 0.8402)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04370D #37042E
analogous
#153704 #04370D #043727
triadic
#04370D #0D0437 #370D04
tetradic
#04370D #041537 #37042E #372704
square
#04370D #041537 #37042E #372704
split-complementary
#04370D #270437 #370415
monochromatic
#021D07 #021D07 #04370D #08701A #0CA928

Accessibility & contrast

On white

13.48
#04370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04370D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04370D#FFFFFF#000000##FFFFFF
##04370D1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383108
Deuteranopia (green-blind)
#322D11
Tritanopia (blue-blind)
#00352E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #04370d;
/* rgb */ color: rgb(4, 55, 13);
/* oklch */ color: oklch(29.4% 0.087 145.5);
Tailwind
colors: {
  custom: {
    50: '#4f6e4e',
    500: '#04370d',
    950: '#000000',
  },
}
SCSS
$custom: #04370d;
$custom-light: #4f6e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04370d",
  "rgb": {
    "r": 4,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 130.588,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29446,
    "c": 0.08657,
    "h": 145.5
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#04370D
secondary
#791E69
accent
#2BD8FD
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #04370D

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

Preview Lab → · Contrast checker → · Palette generator →

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