#04361B#04361B

#04361B is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.4% C 0.070 H 153.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#04361B
RGBrgb(4, 54, 27)
HSLhsl(148, 86%, 11%)
HSVhsv(148, 93%, 21%)
CMYKcmyk(92.6%, 0%, 50%, 78.8%)
CIE-LABlab(18.98, -23.54, 12.55)
CIE-LCHlch(18.98, 26.68, 151.94°)
OKLaboklab(29.36% -0.0633 0.0311)
OKLCHoklch(29.36% 0.071 153.8)
XYZxyz(1.5669, 2.7431, 1.4836)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04361B #36041F
analogous
#063604 #04361B #043634
triadic
#04361B #1B0436 #361B04
tetradic
#04361B #040636 #36041F #363404
square
#04361B #040636 #36041F #363404
split-complementary
#04361B #340436 #360406
monochromatic
#021C0E #021C0E #04361B #086F37 #0CA854

Accessibility & contrast

On white

13.56
#04361B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#04361B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04361B
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04361B#FFFFFF#000000##FFFFFF
##04361B1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363119
Deuteranopia (green-blind)
#302C1D
Tritanopia (blue-blind)
#00352F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #04361b;
/* rgb */ color: rgb(4, 54, 27);
/* oklch */ color: oklch(29.4% 0.070 153.8);
Tailwind
colors: {
  custom: {
    50: '#4e6d57',
    500: '#04361b',
    950: '#000000',
  },
}
SCSS
$custom: #04361b;
$custom-light: #4e6d57;
$custom-dark: #000000;
JSON
{
  "hex": "#04361b",
  "rgb": {
    "r": 4,
    "g": 54,
    "b": 27
  },
  "hsl": {
    "h": 147.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29361,
    "c": 0.0705,
    "h": 153.8
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#04361B
secondary
#781E4F
accent
#2B9CFC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04361B

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

Preview Lab → · Contrast checker → · Palette generator →

#04361B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva