#04300E#04300E

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

Color values

HEX#04300E
RGBrgb(4, 48, 14)
HSLhsl(134, 85%, 10%)
HSVhsv(134, 92%, 19%)
CMYKcmyk(91.7%, 0%, 70.8%, 81.2%)
CIE-LABlab(16.36, -23.51, 17.17)
CIE-LCHlch(16.36, 29.11, 143.86°)
OKLaboklab(27.12% -0.0632 0.0411)
OKLCHoklch(27.12% 0.075 147)
XYZxyz(1.1862, 2.1713, 0.7720)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04300E #300426
analogous
#103004 #04300E #043024
triadic
#04300E #0E0430 #300E04
tetradic
#04300E #041030 #300426 #302404
square
#04300E #041030 #300426 #302404
split-complementary
#04300E #240430 #300410
monochromatic
#021C08 #021C08 #04300E #09681E #0DA12F

Accessibility & contrast

On white

14.64
#04300E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04300E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04300E#FFFFFF#000000##FFFFFF
##04300E1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0B
Deuteranopia (green-blind)
#2C2711
Tritanopia (blue-blind)
#002F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #04300e;
/* rgb */ color: rgb(4, 48, 14);
/* oklch */ color: oklch(27.1% 0.075 147.0);
Tailwind
colors: {
  custom: {
    50: '#4c694e',
    500: '#04300e',
    950: '#000000',
  },
}
SCSS
$custom: #04300e;
$custom-light: #4c694e;
$custom-dark: #000000;
JSON
{
  "hex": "#04300e",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 14
  },
  "hsl": {
    "h": 133.636,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27118,
    "c": 0.07542,
    "h": 147
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#04300E
secondary
#721D5F
accent
#2DCCFB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #04300E

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

Preview Lab → · Contrast checker → · Palette generator →

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