#04210F#04210F

#04210F is a very dark, muted green. Relative luminance 0.011; OKLCH L 22.0% C 0.050 H 153.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#04210F
RGBrgb(4, 33, 15)
HSLhsl(143, 78%, 7%)
HSVhsv(143, 88%, 13%)
CMYKcmyk(87.9%, 0%, 54.5%, 87.1%)
CIE-LABlab(10.17, -15.97, 8.41)
CIE-LCHlch(10.17, 18.04, 152.22°)
OKLaboklab(22% -0.0443 0.0225)
OKLCHoklch(22% 0.05 153.1)
XYZxyz(0.6801, 1.1479, 0.6376)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04210F #210416
analogous
#072104 #04210F #04211E
triadic
#04210F #0F0421 #210F04
tetradic
#04210F #040721 #210416 #211E04
square
#04210F #040721 #210416 #211E04
split-complementary
#04210F #1E0421 #210407
monochromatic
#031B0C #031B0C #04210F #0B5828 #118E41

Accessibility & contrast

On white

17.08
#04210F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04210F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04210F#FFFFFF#000000##FFFFFF
##04210F1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0E
Deuteranopia (green-blind)
#1D1B10
Tritanopia (blue-blind)
#00201D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #04210f;
/* rgb */ color: rgb(4, 33, 15);
/* oklch */ color: oklch(22.0% 0.050 153.1);
Tailwind
colors: {
  custom: {
    50: '#485c4e',
    500: '#04210f',
    950: '#000000',
  },
}
SCSS
$custom: #04210f;
$custom-light: #485c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04210f",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 15
  },
  "hsl": {
    "h": 142.759,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21998,
    "c": 0.04974,
    "h": 153.1
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#04210F
secondary
#641D49
accent
#33ABF5
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04210F

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

Preview Lab → · Contrast checker → · Palette generator →

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