#04350E#04350E

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

Color values

HEX#04350E
RGBrgb(4, 53, 14)
HSLhsl(132, 86%, 11%)
HSVhsv(132, 92%, 21%)
CMYKcmyk(92.5%, 0%, 73.6%, 79.2%)
CIE-LABlab(18.38, -25.56, 19.62)
CIE-LCHlch(18.38, 32.22, 142.49°)
OKLaboklab(28.79% -0.0688 0.0461)
OKLCHoklch(28.79% 0.083 146.2)
XYZxyz(1.4023, 2.6036, 0.8440)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04350E #35042B
analogous
#123504 #04350E #043526
triadic
#04350E #0E0435 #350E04
tetradic
#04350E #041235 #35042B #352604
square
#04350E #041235 #35042B #352604
split-complementary
#04350E #260435 #350412
monochromatic
#021C08 #021C08 #04350E #086E1D #0DA72C

Accessibility & contrast

On white

13.81
#04350E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04350E
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04350E#FFFFFF#000000##FFFFFF
##04350E1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0A
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#00332D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04350e;
/* rgb */ color: rgb(4, 53, 14);
/* oklch */ color: oklch(28.8% 0.083 146.2);
Tailwind
colors: {
  custom: {
    50: '#4e6d4e',
    500: '#04350e',
    950: '#000000',
  },
}
SCSS
$custom: #04350e;
$custom-light: #4e6d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04350e",
  "rgb": {
    "r": 4,
    "g": 53,
    "b": 14
  },
  "hsl": {
    "h": 132.245,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28794,
    "c": 0.08281,
    "h": 146.2
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#04350E
secondary
#771E65
accent
#2CD2FC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #04350E

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

Preview Lab → · Contrast checker → · Palette generator →

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