#04200E#04200E

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

Color values

HEX#04200E
RGBrgb(4, 32, 14)
HSLhsl(141, 78%, 7%)
HSVhsv(141, 88%, 13%)
CMYKcmyk(87.5%, 0%, 56.2%, 87.5%)
CIE-LABlab(9.72, -15.46, 8.30)
CIE-LCHlch(9.72, 17.55, 151.77°)
OKLaboklab(21.63% -0.0436 0.0228)
OKLCHoklch(21.63% 0.049 152.5)
XYZxyz(0.6458, 1.0905, 0.5918)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04200E #200416
analogous
#082004 #04200E #04201C
triadic
#04200E #0E0420 #200E04
tetradic
#04200E #040820 #200416 #201C04
square
#04200E #040820 #200416 #201C04
split-complementary
#04200E #1C0420 #200408
monochromatic
#031B0C #031B0C #04200E #0B5626 #128D3E

Accessibility & contrast

On white

17.24
#04200E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04200E
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04200E#FFFFFF#000000##FFFFFF
##04200E1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C0D
Deuteranopia (green-blind)
#1C1A0F
Tritanopia (blue-blind)
#001F1C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #04200e;
/* rgb */ color: rgb(4, 32, 14);
/* oklch */ color: oklch(21.6% 0.049 152.5);
Tailwind
colors: {
  custom: {
    50: '#485b4d',
    500: '#04200e',
    950: '#000000',
  },
}
SCSS
$custom: #04200e;
$custom-light: #485b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#04200e",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 14
  },
  "hsl": {
    "h": 141.429,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21625,
    "c": 0.0492,
    "h": 152.5
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#04200E
secondary
#631D4A
accent
#34AFF4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04200E

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

Preview Lab → · Contrast checker → · Palette generator →

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