#04210C#04210C

#04210C is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.9% C 0.053 H 149.7°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#04210C
RGBrgb(4, 33, 12)
HSLhsl(137, 78%, 7%)
HSVhsv(137, 88%, 13%)
CMYKcmyk(87.9%, 0%, 63.6%, 87.1%)
CIE-LABlab(10.11, -16.52, 9.80)
CIE-LCHlch(10.11, 19.21, 149.32°)
OKLaboklab(21.93% -0.0461 0.027)
OKLCHoklch(21.93% 0.053 149.7)
XYZxyz(0.6602, 1.1400, 0.5330)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04210C #210419
analogous
#0B2104 #04210C #04211B
triadic
#04210C #0C0421 #210C04
tetradic
#04210C #040B21 #210419 #211B04
square
#04210C #040B21 #210419 #211B04
split-complementary
#04210C #1B0421 #21040B
monochromatic
#031B0A #031B0A #04210C #0B5820 #118E34

Accessibility & contrast

On white

17.10
#04210C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#04210C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04210C
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04210C#FFFFFF#000000##FFFFFF
##04210C1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0A
Deuteranopia (green-blind)
#1E1B0D
Tritanopia (blue-blind)
#00201C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #04210c;
/* rgb */ color: rgb(4, 33, 12);
/* oklch */ color: oklch(21.9% 0.053 149.7);
Tailwind
colors: {
  custom: {
    50: '#485c4c',
    500: '#04210c',
    950: '#000000',
  },
}
SCSS
$custom: #04210c;
$custom-light: #485c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#04210c",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 12
  },
  "hsl": {
    "h": 136.552,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21928,
    "c": 0.05342,
    "h": 149.7
  },
  "luminance": 0.0114
}

Semantic roles & 50–950 ramp

primary
#04210C
secondary
#641D50
accent
#33BFF5
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04210C

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

Preview Lab → · Contrast checker → · Palette generator →

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