#04350C#04350C

#04350C is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.8% C 0.085 H 145.4°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#04350C
RGBrgb(4, 53, 12)
HSLhsl(130, 86%, 11%)
HSVhsv(130, 92%, 21%)
CMYKcmyk(92.5%, 0%, 77.4%, 79.2%)
CIE-LABlab(18.36, -25.84, 20.55)
CIE-LCHlch(18.36, 33.02, 141.50°)
OKLaboklab(28.77% -0.0696 0.0481)
OKLCHoklch(28.77% 0.085 145.4)
XYZxyz(1.3894, 2.5984, 0.7761)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04350C #35042D
analogous
#143504 #04350C #043524
triadic
#04350C #0C0435 #350C04
tetradic
#04350C #041435 #35042D #352404
square
#04350C #041435 #35042D #352404
split-complementary
#04350C #240435 #350414
monochromatic
#021C06 #021C06 #04350C #086E19 #0DA726

Accessibility & contrast

On white

13.82
#04350C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#04350C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04350C
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04350C#FFFFFF#000000##FFFFFF
##04350C1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F07
Deuteranopia (green-blind)
#312B10
Tritanopia (blue-blind)
#00332D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04350c;
/* rgb */ color: rgb(4, 53, 12);
/* oklch */ color: oklch(28.8% 0.085 145.4);
Tailwind
colors: {
  custom: {
    50: '#4e6d4d',
    500: '#04350c',
    950: '#000000',
  },
}
SCSS
$custom: #04350c;
$custom-light: #4e6d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#04350c",
  "rgb": {
    "r": 4,
    "g": 53,
    "b": 12
  },
  "hsl": {
    "h": 129.796,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28768,
    "c": 0.08463,
    "h": 145.4
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#04350C
secondary
#771E69
accent
#2CDAFC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #04350C

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

Preview Lab → · Contrast checker → · Palette generator →

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