#04370E#04370E

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

Color values

HEX#04370E
RGBrgb(4, 55, 14)
HSLhsl(132, 86%, 12%)
HSVhsv(132, 93%, 22%)
CMYKcmyk(92.7%, 0%, 74.5%, 78.4%)
CIE-LABlab(19.18, -26.36, 20.56)
CIE-LCHlch(19.18, 33.42, 142.05°)
OKLaboklab(29.46% -0.0709 0.048)
OKLCHoklch(29.46% 0.086 145.9)
XYZxyz(1.4954, 2.7897, 0.8750)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04370E #37042D
analogous
#143704 #04370E #043728
triadic
#04370E #0E0437 #370E04
tetradic
#04370E #041437 #37042D #372804
square
#04370E #041437 #37042D #372804
split-complementary
#04370E #280437 #370414
monochromatic
#021D07 #021D07 #04370E #08701D #0CA92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##04370E#FFFFFF#000000##FFFFFF
##04370E1.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)
#383109
Deuteranopia (green-blind)
#322D12
Tritanopia (blue-blind)
#00352E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #04370e;
/* rgb */ color: rgb(4, 55, 14);
/* oklch */ color: oklch(29.5% 0.086 145.9);
Tailwind
colors: {
  custom: {
    50: '#4f6e4e',
    500: '#04370e',
    950: '#000000',
  },
}
SCSS
$custom: #04370e;
$custom-light: #4f6e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04370e",
  "rgb": {
    "r": 4,
    "g": 55,
    "b": 14
  },
  "hsl": {
    "h": 131.765,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.08568,
    "h": 145.9
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#04370E
secondary
#791E67
accent
#2BD4FD
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #04370E

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

Preview Lab → · Contrast checker → · Palette generator →

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