#04200A#04200A

#04200A is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.5% C 0.054 H 148.1°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#04200A
RGBrgb(4, 32, 10)
HSLhsl(133, 78%, 7%)
HSVhsv(133, 88%, 13%)
CMYKcmyk(87.5%, 0%, 68.8%, 87.5%)
CIE-LABlab(9.65, -16.13, 10.01)
CIE-LCHlch(9.65, 18.98, 148.17°)
OKLaboklab(21.54% -0.0459 0.0286)
OKLCHoklch(21.54% 0.054 148.1)
XYZxyz(0.6213, 1.0807, 0.4629)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04200A #20041A
analogous
#0C2004 #04200A #042018
triadic
#04200A #0A0420 #200A04
tetradic
#04200A #040C20 #20041A #201804
square
#04200A #040C20 #20041A #201804
split-complementary
#04200A #180420 #20040C
monochromatic
#031B08 #031B08 #04200A #0B561B #128D2C

Accessibility & contrast

On white

17.27
#04200A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04200A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04200A#FFFFFF#000000##FFFFFF
##04200A1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04200a;
/* rgb */ color: rgb(4, 32, 10);
/* oklch */ color: oklch(21.5% 0.054 148.1);
Tailwind
colors: {
  custom: {
    50: '#485b4b',
    500: '#04200a',
    950: '#000000',
  },
}
SCSS
$custom: #04200a;
$custom-light: #485b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#04200a",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 10
  },
  "hsl": {
    "h": 132.857,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21536,
    "c": 0.0541,
    "h": 148.1
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#04200A
secondary
#631D54
accent
#34CBF4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04200A

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

Preview Lab → · Contrast checker → · Palette generator →

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