#04210B#04210B

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

Color values

HEX#04210B
RGBrgb(4, 33, 11)
HSLhsl(134, 78%, 7%)
HSVhsv(134, 88%, 13%)
CMYKcmyk(87.9%, 0%, 66.7%, 87.1%)
CIE-LABlab(10.09, -16.68, 10.22)
CIE-LCHlch(10.09, 19.57, 148.51°)
OKLaboklab(21.91% -0.0467 0.0284)
OKLCHoklch(21.91% 0.055 148.7)
XYZxyz(0.6543, 1.1376, 0.5016)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04210B #21041A
analogous
#0C2104 #04210B #04211A
triadic
#04210B #0B0421 #210B04
tetradic
#04210B #040C21 #21041A #211A04
square
#04210B #040C21 #21041A #211A04
split-complementary
#04210B #1A0421 #21040C
monochromatic
#031B09 #031B09 #04210B #0B581D #118E2F

Accessibility & contrast

On white

17.11
#04210B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04210B
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04210B#FFFFFF#000000##FFFFFF
##04210B1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04210b;
/* rgb */ color: rgb(4, 33, 11);
/* oklch */ color: oklch(21.9% 0.055 148.7);
Tailwind
colors: {
  custom: {
    50: '#485c4b',
    500: '#04210b',
    950: '#000000',
  },
}
SCSS
$custom: #04210b;
$custom-light: #485c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#04210b",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 11
  },
  "hsl": {
    "h": 134.483,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21907,
    "c": 0.05463,
    "h": 148.7
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#04210B
secondary
#641D53
accent
#33C6F5
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04210B

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

Preview Lab → · Contrast checker → · Palette generator →

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