#04300D#04300D

#04300D is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.1% C 0.076 H 146.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#04300D
RGBrgb(4, 48, 13)
HSLhsl(132, 85%, 10%)
HSVhsv(132, 92%, 19%)
CMYKcmyk(91.7%, 0%, 72.9%, 81.2%)
CIE-LABlab(16.35, -23.67, 17.64)
CIE-LCHlch(16.35, 29.52, 143.30°)
OKLaboklab(27.1% -0.0637 0.0422)
OKLCHoklch(27.1% 0.076 146.5)
XYZxyz(1.1796, 2.1686, 0.7371)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04300D #300427
analogous
#113004 #04300D #043023
triadic
#04300D #0D0430 #300D04
tetradic
#04300D #041130 #300427 #302304
square
#04300D #041130 #300427 #302304
split-complementary
#04300D #230430 #300411
monochromatic
#021C08 #021C08 #04300D #09681C #0DA12C

Accessibility & contrast

On white

14.65
#04300D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#04300D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04300D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04300D#FFFFFF#000000##FFFFFF
##04300D1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B09
Deuteranopia (green-blind)
#2C2710
Tritanopia (blue-blind)
#002F28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #04300d;
/* rgb */ color: rgb(4, 48, 13);
/* oklch */ color: oklch(27.1% 0.076 146.5);
Tailwind
colors: {
  custom: {
    50: '#4c694d',
    500: '#04300d',
    950: '#000000',
  },
}
SCSS
$custom: #04300d;
$custom-light: #4c694d;
$custom-dark: #000000;
JSON
{
  "hex": "#04300d",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 13
  },
  "hsl": {
    "h": 132.273,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27102,
    "c": 0.07643,
    "h": 146.5
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#04300D
secondary
#721D61
accent
#2DD1FB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #04300D

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

Preview Lab → · Contrast checker → · Palette generator →

#04300D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva