#04300C#04300C

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

Color values

HEX#04300C
RGBrgb(4, 48, 12)
HSLhsl(131, 85%, 10%)
HSVhsv(131, 92%, 19%)
CMYKcmyk(91.7%, 0%, 75%, 81.2%)
CIE-LABlab(16.34, -23.82, 18.10)
CIE-LCHlch(16.34, 29.92, 142.78°)
OKLaboklab(27.09% -0.0642 0.0433)
OKLCHoklch(27.09% 0.077 146)
XYZxyz(1.1733, 2.1661, 0.7040)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04300C #300428
analogous
#123004 #04300C #043022
triadic
#04300C #0C0430 #300C04
tetradic
#04300C #041230 #300428 #302204
square
#04300C #041230 #300428 #302204
split-complementary
#04300C #220430 #300412
monochromatic
#021C07 #021C07 #04300C #09681A #0DA128

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##04300C#FFFFFF#000000##FFFFFF
##04300C1.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)
#312B08
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#002F28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #04300c;
/* rgb */ color: rgb(4, 48, 12);
/* oklch */ color: oklch(27.1% 0.077 146.0);
Tailwind
colors: {
  custom: {
    50: '#4c694c',
    500: '#04300c',
    950: '#000000',
  },
}
SCSS
$custom: #04300c;
$custom-light: #4c694c;
$custom-dark: #000000;
JSON
{
  "hex": "#04300c",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 130.909,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27088,
    "c": 0.0774,
    "h": 146
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#04300C
secondary
#721D63
accent
#2DD5FB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #04300C

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

Preview Lab → · Contrast checker → · Palette generator →

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