#04351A#04351A

#04351A is a dark, moderate green. Relative luminance 0.026; OKLCH L 29.0% C 0.070 H 153.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#04351A
RGBrgb(4, 53, 26)
HSLhsl(147, 86%, 11%)
HSVhsv(147, 92%, 21%)
CMYKcmyk(92.5%, 0%, 50.9%, 79.2%)
CIE-LABlab(18.57, -23.32, 12.65)
CIE-LCHlch(18.57, 26.53, 151.52°)
OKLaboklab(29.01% -0.0627 0.0313)
OKLCHoklch(29.01% 0.07 153.5)
XYZxyz(1.5095, 2.6464, 1.4083)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04351A #35041F
analogous
#063504 #04351A #043532
triadic
#04351A #1A0435 #351A04
tetradic
#04351A #040635 #35041F #353204
square
#04351A #040635 #35041F #353204
split-complementary
#04351A #320435 #350406
monochromatic
#021C0E #021C0E #04351A #086E36 #0DA752

Accessibility & contrast

On white

13.73
#04351A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04351A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04351A#FFFFFF#000000##FFFFFF
##04351A1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353018
Deuteranopia (green-blind)
#2F2C1C
Tritanopia (blue-blind)
#00342E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04351a;
/* rgb */ color: rgb(4, 53, 26);
/* oklch */ color: oklch(29.0% 0.070 153.5);
Tailwind
colors: {
  custom: {
    50: '#4e6d56',
    500: '#04351a',
    950: '#000000',
  },
}
SCSS
$custom: #04351a;
$custom-light: #4e6d56;
$custom-dark: #000000;
JSON
{
  "hex": "#04351a",
  "rgb": {
    "r": 4,
    "g": 53,
    "b": 26
  },
  "hsl": {
    "h": 146.939,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2901,
    "c": 0.07005,
    "h": 153.5
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#04351A
secondary
#771E4F
accent
#2C9FFC
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #04351A

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

Preview Lab → · Contrast checker → · Palette generator →

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