#040900#040900

#040900 is a very dark, muted yellow-green. Relative luminance 0.002; OKLCH L 12.8% C 0.034 H 128.4°. Best body text is #FFFFFF at 20.11:1 contrast (WCAG AA passes).

Color values

HEX#040900
RGBrgb(4, 9, 0)
HSLhsl(93, 100%, 2%)
HSVhsv(93, 100%, 4%)
CMYKcmyk(55.6%, 0%, 100%, 96.5%)
CIE-LABlab(2.00, -2.56, 2.95)
CIE-LCHlch(2.00, 3.90, 130.97°)
OKLaboklab(12.79% -0.0209 0.0264)
OKLCHoklch(12.79% 0.034 128.4)
XYZxyz(0.1478, 0.2212, 0.0349)
Luminance0.0022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040900 #050009
analogous
#090900 #040900 #000901
triadic
#040900 #000409 #090004
tetradic
#040900 #000909 #050009 #090100
square
#040900 #000909 #050009 #090100
split-complementary
#040900 #010009 #090009
monochromatic
#0E1F00 #0E1F00 #0E1F00 #1F4600 #3A8300

Accessibility & contrast

On white

20.11
#040900 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#040900 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040900
20.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040900#FFFFFF#000000##FFFFFF
##0409001.0020.111.0420.11
#FFFFFF20.111.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0800
Deuteranopia (green-blind)
#090700
Tritanopia (blue-blind)
#040806
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #040900;
/* rgb */ color: rgb(4, 9, 0);
/* oklch */ color: oklch(12.8% 0.034 128.4);
Tailwind
colors: {
  custom: {
    50: '#484b47',
    500: '#040900',
    950: '#000000',
  },
}
SCSS
$custom: #040900;
$custom-light: #484b47;
$custom-dark: #000000;
JSON
{
  "hex": "#040900",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 0
  },
  "hsl": {
    "h": 93.333,
    "s": 100,
    "l": 1.765
  },
  "oklch": {
    "l": 0.12787,
    "c": 0.03364,
    "h": 128.4
  },
  "luminance": 0.00221
}

Semantic roles & 50–950 ramp

primary
#040900
secondary
#360F56
accent
#29FFA0
background
#F4F4F3
surface
#E6E7E5
border
#C2C3C1
text
#000100
muted
#777777

Preview Lab

Preview with #040900

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

Preview Lab → · Contrast checker → · Palette generator →

#040900 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva