#04290A#04290A

#04290A is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.7% C 0.069 H 146.0°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#04290A
RGBrgb(4, 41, 10)
HSLhsl(130, 82%, 9%)
HSVhsv(130, 90%, 16%)
CMYKcmyk(90.2%, 0%, 75.6%, 83.9%)
CIE-LABlab(13.43, -21.18, 15.22)
CIE-LCHlch(13.43, 26.08, 144.29°)
OKLaboklab(24.67% -0.0571 0.0384)
OKLCHoklch(24.67% 0.069 146)
XYZxyz(0.8977, 1.6335, 0.5551)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04290A #290423
analogous
#112904 #04290A #04291D
triadic
#04290A #0A0429 #290A04
tetradic
#04290A #041129 #290423 #291D04
square
#04290A #041129 #290423 #291D04
split-complementary
#04290A #1D0429 #290411
monochromatic
#031C07 #031C07 #04290A #096118 #0F9925

Accessibility & contrast

On white

15.83
#04290A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#04290A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04290A
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04290A#FFFFFF#000000##FFFFFF
##04290A1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2407
Deuteranopia (green-blind)
#25210D
Tritanopia (blue-blind)
#002822
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #04290a;
/* rgb */ color: rgb(4, 41, 10);
/* oklch */ color: oklch(24.7% 0.069 146.0);
Tailwind
colors: {
  custom: {
    50: '#4a634b',
    500: '#04290a',
    950: '#000000',
  },
}
SCSS
$custom: #04290a;
$custom-light: #4a634b;
$custom-dark: #000000;
JSON
{
  "hex": "#04290a",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 10
  },
  "hsl": {
    "h": 129.73,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24671,
    "c": 0.06879,
    "h": 146
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#04290A
secondary
#6C1D5F
accent
#2FD8F9
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #04290A

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

Preview Lab → · Contrast checker → · Palette generator →

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