#04350F#04350F

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

Color values

HEX#04350F
RGBrgb(4, 53, 15)
HSLhsl(133, 86%, 11%)
HSVhsv(133, 92%, 21%)
CMYKcmyk(92.5%, 0%, 71.7%, 79.2%)
CIE-LABlab(18.39, -25.41, 19.12)
CIE-LCHlch(18.39, 31.80, 143.04°)
OKLaboklab(28.81% -0.0683 0.0451)
OKLCHoklch(28.81% 0.082 146.6)
XYZxyz(1.4093, 2.6063, 0.8806)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04350F #35042A
analogous
#113504 #04350F #043527
triadic
#04350F #0F0435 #350F04
tetradic
#04350F #041135 #35042A #352704
square
#04350F #041135 #35042A #352704
split-complementary
#04350F #270435 #350411
monochromatic
#021C08 #021C08 #04350F #086E1F #0DA72F

Accessibility & contrast

On white

13.80
#04350F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04350F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04350F#FFFFFF#000000##FFFFFF
##04350F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0B
Deuteranopia (green-blind)
#302B12
Tritanopia (blue-blind)
#00342D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04350f;
/* rgb */ color: rgb(4, 53, 15);
/* oklch */ color: oklch(28.8% 0.082 146.6);
Tailwind
colors: {
  custom: {
    50: '#4e6d4f',
    500: '#04350f',
    950: '#000000',
  },
}
SCSS
$custom: #04350f;
$custom-light: #4e6d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#04350f",
  "rgb": {
    "r": 4,
    "g": 53,
    "b": 15
  },
  "hsl": {
    "h": 133.469,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28808,
    "c": 0.08185,
    "h": 146.6
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#04350F
secondary
#771E63
accent
#2CCDFC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #04350F

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

Preview Lab → · Contrast checker → · Palette generator →

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