#04351C#04351C

#04351C is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.1% C 0.068 H 155.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#04351C
RGBrgb(4, 53, 28)
HSLhsl(149, 86%, 11%)
HSVhsv(149, 92%, 21%)
CMYKcmyk(92.5%, 0%, 47.2%, 79.2%)
CIE-LABlab(18.61, -22.86, 11.41)
CIE-LCHlch(18.61, 25.54, 153.48°)
OKLaboklab(29.06% -0.0615 0.0284)
OKLCHoklch(29.06% 0.068 155.2)
XYZxyz(1.5326, 2.6557, 1.5302)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04351C #35041D
analogous
#043504 #04351C #043534
triadic
#04351C #1C0435 #351C04
tetradic
#04351C #040435 #35041D #353404
square
#04351C #040435 #35041D #353404
split-complementary
#04351C #340435 #350404
monochromatic
#021C0F #021C0F #04351C #086E3A #0DA758

Accessibility & contrast

On white

13.71
#04351C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04351C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04351C#FFFFFF#000000##FFFFFF
##04351C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#2F2C1E
Tritanopia (blue-blind)
#00342F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04351c;
/* rgb */ color: rgb(4, 53, 28);
/* oklch */ color: oklch(29.1% 0.068 155.2);
Tailwind
colors: {
  custom: {
    50: '#4e6d58',
    500: '#04351c',
    950: '#000000',
  },
}
SCSS
$custom: #04351c;
$custom-light: #4e6d58;
$custom-dark: #000000;
JSON
{
  "hex": "#04351c",
  "rgb": {
    "r": 4,
    "g": 53,
    "b": 28
  },
  "hsl": {
    "h": 149.388,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29057,
    "c": 0.06778,
    "h": 155.2
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#04351C
secondary
#771E4B
accent
#2C96FC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04351C

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

Preview Lab → · Contrast checker → · Palette generator →

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