#04300B#04300B

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

Color values

HEX#04300B
RGBrgb(4, 48, 11)
HSLhsl(130, 85%, 10%)
HSVhsv(130, 92%, 19%)
CMYKcmyk(91.7%, 0%, 77.1%, 81.2%)
CIE-LABlab(16.32, -23.97, 18.52)
CIE-LCHlch(16.32, 30.29, 142.30°)
OKLaboklab(27.07% -0.0646 0.0443)
OKLCHoklch(27.07% 0.078 145.5)
XYZxyz(1.1673, 2.1637, 0.6727)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04300B #300429
analogous
#133004 #04300B #043021
triadic
#04300B #0B0430 #300B04
tetradic
#04300B #041330 #300429 #302104
square
#04300B #041330 #300429 #302104
split-complementary
#04300B #210430 #300413
monochromatic
#021C06 #021C06 #04300B #096818 #0DA125

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##04300B#FFFFFF#000000##FFFFFF
##04300B1.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)
#312B07
Deuteranopia (green-blind)
#2C270E
Tritanopia (blue-blind)
#002F28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #04300b;
/* rgb */ color: rgb(4, 48, 11);
/* oklch */ color: oklch(27.1% 0.078 145.5);
Tailwind
colors: {
  custom: {
    50: '#4c694c',
    500: '#04300b',
    950: '#000000',
  },
}
SCSS
$custom: #04300b;
$custom-light: #4c694c;
$custom-dark: #000000;
JSON
{
  "hex": "#04300b",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 11
  },
  "hsl": {
    "h": 129.545,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27074,
    "c": 0.07834,
    "h": 145.5
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#04300B
secondary
#721D65
accent
#2DDAFB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #04300B

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

Preview Lab → · Contrast checker → · Palette generator →

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