#04351B#04351B

#04351B is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.0% C 0.069 H 154.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#04351B
RGBrgb(4, 53, 27)
HSLhsl(148, 86%, 11%)
HSVhsv(148, 92%, 21%)
CMYKcmyk(92.5%, 0%, 49.1%, 79.2%)
CIE-LABlab(18.59, -23.09, 12.03)
CIE-LCHlch(18.59, 26.04, 152.48°)
OKLaboklab(29.03% -0.0621 0.0299)
OKLCHoklch(29.03% 0.069 154.3)
XYZxyz(1.5209, 2.6510, 1.4682)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04351B #35041E
analogous
#053504 #04351B #043533
triadic
#04351B #1B0435 #351B04
tetradic
#04351B #040535 #35041E #353304
square
#04351B #040535 #35041E #353304
split-complementary
#04351B #330435 #350405
monochromatic
#021C0E #021C0E #04351B #086E38 #0DA755

Accessibility & contrast

On white

13.72
#04351B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#04351B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04351B
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04351B#FFFFFF#000000##FFFFFF
##04351B1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#2F2C1D
Tritanopia (blue-blind)
#00342F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04351b;
/* rgb */ color: rgb(4, 53, 27);
/* oklch */ color: oklch(29.0% 0.069 154.3);
Tailwind
colors: {
  custom: {
    50: '#4e6d57',
    500: '#04351b',
    950: '#000000',
  },
}
SCSS
$custom: #04351b;
$custom-light: #4e6d57;
$custom-dark: #000000;
JSON
{
  "hex": "#04351b",
  "rgb": {
    "r": 4,
    "g": 53,
    "b": 27
  },
  "hsl": {
    "h": 148.163,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29033,
    "c": 0.06892,
    "h": 154.3
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#04351B
secondary
#771E4D
accent
#2C9AFC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04351B

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

Preview Lab → · Contrast checker → · Palette generator →

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