#04290F#04290F

#04290F is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.8% C 0.063 H 149.4°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#04290F
RGBrgb(4, 41, 15)
HSLhsl(138, 82%, 9%)
HSVhsv(138, 90%, 16%)
CMYKcmyk(90.2%, 0%, 63.4%, 83.9%)
CIE-LABlab(13.51, -20.28, 12.98)
CIE-LCHlch(13.51, 24.08, 147.37°)
OKLaboklab(24.76% -0.0545 0.0323)
OKLCHoklch(24.76% 0.063 149.4)
XYZxyz(0.9292, 1.6461, 0.7206)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04290F #29041E
analogous
#0C2904 #04290F #042922
triadic
#04290F #0F0429 #290F04
tetradic
#04290F #040C29 #29041E #292204
square
#04290F #040C29 #29041E #292204
split-complementary
#04290F #220429 #29040C
monochromatic
#031C0A #031C0A #04290F #096123 #0F9938

Accessibility & contrast

On white

15.80
#04290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04290F
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04290F#FFFFFF#000000##FFFFFF
##04290F1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240D
Deuteranopia (green-blind)
#252111
Tritanopia (blue-blind)
#002823
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #04290f;
/* rgb */ color: rgb(4, 41, 15);
/* oklch */ color: oklch(24.8% 0.063 149.4);
Tailwind
colors: {
  custom: {
    50: '#4a634e',
    500: '#04290f',
    950: '#000000',
  },
}
SCSS
$custom: #04290f;
$custom-light: #4a634e;
$custom-dark: #000000;
JSON
{
  "hex": "#04290f",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 137.838,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24758,
    "c": 0.06335,
    "h": 149.4
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#04290F
secondary
#6C1D54
accent
#2FBDF9
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #04290F

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

Preview Lab → · Contrast checker → · Palette generator →

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