#04300A#04300A

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

Color values

HEX#04300A
RGBrgb(4, 48, 10)
HSLhsl(128, 85%, 10%)
HSVhsv(128, 92%, 19%)
CMYKcmyk(91.7%, 0%, 79.2%, 81.2%)
CIE-LABlab(16.31, -24.11, 18.93)
CIE-LCHlch(16.31, 30.65, 141.86°)
OKLaboklab(27.06% -0.065 0.0453)
OKLCHoklch(27.06% 0.079 145.1)
XYZxyz(1.1617, 2.1615, 0.6431)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04300A #30042A
analogous
#143004 #04300A #043020
triadic
#04300A #0A0430 #300A04
tetradic
#04300A #041430 #30042A #302004
square
#04300A #041430 #30042A #302004
split-complementary
#04300A #200430 #300414
monochromatic
#021C06 #021C06 #04300A #096816 #0DA122

Accessibility & contrast

On white

14.66
#04300A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04300A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04300A#FFFFFF#000000##FFFFFF
##04300A1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B06
Deuteranopia (green-blind)
#2C270D
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #04300a;
/* rgb */ color: rgb(4, 48, 10);
/* oklch */ color: oklch(27.1% 0.079 145.1);
Tailwind
colors: {
  custom: {
    50: '#4c694b',
    500: '#04300a',
    950: '#000000',
  },
}
SCSS
$custom: #04300a;
$custom-light: #4c694b;
$custom-dark: #000000;
JSON
{
  "hex": "#04300a",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 10
  },
  "hsl": {
    "h": 128.182,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27061,
    "c": 0.07925,
    "h": 145.1
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#04300A
secondary
#721D67
accent
#2DDFFB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #04300A

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

Preview Lab → · Contrast checker → · Palette generator →

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