#04300F#04300F

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

Color values

HEX#04300F
RGBrgb(4, 48, 15)
HSLhsl(135, 85%, 10%)
HSVhsv(135, 92%, 19%)
CMYKcmyk(91.7%, 0%, 68.7%, 81.2%)
CIE-LABlab(16.38, -23.34, 16.67)
CIE-LCHlch(16.38, 28.68, 144.47°)
OKLaboklab(27.13% -0.0627 0.04)
OKLCHoklch(27.13% 0.074 147.5)
XYZxyz(1.1932, 2.1741, 0.8086)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04300F #300425
analogous
#0F3004 #04300F #043025
triadic
#04300F #0F0430 #300F04
tetradic
#04300F #040F30 #300425 #302504
square
#04300F #040F30 #300425 #302504
split-complementary
#04300F #250430 #30040F
monochromatic
#021C09 #021C09 #04300F #096821 #0DA132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##04300F#FFFFFF#000000##FFFFFF
##04300F1.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)
#312B0C
Deuteranopia (green-blind)
#2C2712
Tritanopia (blue-blind)
#002F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #04300f;
/* rgb */ color: rgb(4, 48, 15);
/* oklch */ color: oklch(27.1% 0.074 147.5);
Tailwind
colors: {
  custom: {
    50: '#4c694e',
    500: '#04300f',
    950: '#000000',
  },
}
SCSS
$custom: #04300f;
$custom-light: #4c694e;
$custom-dark: #000000;
JSON
{
  "hex": "#04300f",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 135,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27134,
    "c": 0.07439,
    "h": 147.5
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#04300F
secondary
#721D5D
accent
#2DC7FB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #04300F

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

Preview Lab → · Contrast checker → · Palette generator →

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