#04371A#04371A

#04371A is a dark, moderate green. Relative luminance 0.028; OKLCH L 29.7% C 0.073 H 152.6°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#04371A
RGBrgb(4, 55, 26)
HSLhsl(146, 86%, 12%)
HSVhsv(146, 93%, 22%)
CMYKcmyk(92.7%, 0%, 52.7%, 78.4%)
CIE-LABlab(19.36, -24.20, 13.68)
CIE-LCHlch(19.36, 27.80, 150.53°)
OKLaboklab(29.67% -0.065 0.0337)
OKLCHoklch(29.67% 0.073 152.6)
XYZxyz(1.6026, 2.8326, 1.4394)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04371A #370421
analogous
#083704 #04371A #043734
triadic
#04371A #1A0437 #371A04
tetradic
#04371A #040837 #370421 #373404
square
#04371A #040837 #370421 #373404
split-complementary
#04371A #340437 #370408
monochromatic
#021D0D #021D0D #04371A #087035 #0CA950

Accessibility & contrast

On white

13.40
#04371A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#04371A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04371A
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04371A#FFFFFF#000000##FFFFFF
##04371A1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#312D1C
Tritanopia (blue-blind)
#003630
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #04371a;
/* rgb */ color: rgb(4, 55, 26);
/* oklch */ color: oklch(29.7% 0.073 152.6);
Tailwind
colors: {
  custom: {
    50: '#4e6e57',
    500: '#04371a',
    950: '#000000',
  },
}
SCSS
$custom: #04371a;
$custom-light: #4e6e57;
$custom-dark: #000000;
JSON
{
  "hex": "#04371a",
  "rgb": {
    "r": 4,
    "g": 55,
    "b": 26
  },
  "hsl": {
    "h": 145.882,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29666,
    "c": 0.07319,
    "h": 152.6
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#04371A
secondary
#791E52
accent
#2BA2FD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04371A

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

Preview Lab → · Contrast checker → · Palette generator →

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