#04200C#04200C

#04200C is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.6% C 0.052 H 150.1°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#04200C
RGBrgb(4, 32, 12)
HSLhsl(137, 78%, 7%)
HSVhsv(137, 88%, 13%)
CMYKcmyk(87.5%, 0%, 62.5%, 87.5%)
CIE-LABlab(9.68, -15.81, 9.20)
CIE-LCHlch(9.68, 18.29, 149.80°)
OKLaboklab(21.58% -0.0448 0.0257)
OKLCHoklch(21.58% 0.052 150.1)
XYZxyz(0.6329, 1.0853, 0.5239)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04200C #200418
analogous
#0A2004 #04200C #04201A
triadic
#04200C #0C0420 #200C04
tetradic
#04200C #040A20 #200418 #201A04
square
#04200C #040A20 #200418 #201A04
split-complementary
#04200C #1A0420 #20040A
monochromatic
#031B0A #031B0A #04200C #0B5620 #128D35

Accessibility & contrast

On white

17.26
#04200C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#04200C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04200C
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04200C#FFFFFF#000000##FFFFFF
##04200C1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C0A
Deuteranopia (green-blind)
#1D1A0D
Tritanopia (blue-blind)
#001F1B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #04200c;
/* rgb */ color: rgb(4, 32, 12);
/* oklch */ color: oklch(21.6% 0.052 150.1);
Tailwind
colors: {
  custom: {
    50: '#485b4c',
    500: '#04200c',
    950: '#000000',
  },
}
SCSS
$custom: #04200c;
$custom-light: #485b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#04200c",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 12
  },
  "hsl": {
    "h": 137.143,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21578,
    "c": 0.05167,
    "h": 150.1
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#04200C
secondary
#631D4F
accent
#34BDF4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04200C

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

Preview Lab → · Contrast checker → · Palette generator →

#04200C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva