#05210C#05210C

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

Color values

HEX#05210C
RGBrgb(5, 33, 12)
HSLhsl(135, 74%, 7%)
HSVhsv(135, 85%, 13%)
CMYKcmyk(84.8%, 0%, 63.6%, 87.1%)
CIE-LABlab(10.16, -16.22, 9.88)
CIE-LCHlch(10.16, 18.99, 148.65°)
OKLaboklab(21.98% -0.0451 0.0271)
OKLCHoklch(21.98% 0.053 149)
XYZxyz(0.6728, 1.1465, 0.5336)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05210C #21051A
analogous
#0C2105 #05210C #05211A
triadic
#05210C #0C0521 #210C05
tetradic
#05210C #050C21 #21051A #211A05
square
#05210C #050C21 #21051A #211A05
split-complementary
#05210C #1A0521 #21050C
monochromatic
#041B0A #041B0A #05210C #0D561F #158B33

Accessibility & contrast

On white

17.08
#05210C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05210C
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05210C#FFFFFF#000000##FFFFFF
##05210C1.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)
#211D0A
Deuteranopia (green-blind)
#1E1B0D
Tritanopia (blue-blind)
#00201C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #05210c;
/* rgb */ color: rgb(5, 33, 12);
/* oklch */ color: oklch(22.0% 0.053 149.0);
Tailwind
colors: {
  custom: {
    50: '#485c4c',
    500: '#05210c',
    950: '#000000',
  },
}
SCSS
$custom: #05210c;
$custom-light: #485c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#05210c",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 12
  },
  "hsl": {
    "h": 135,
    "s": 73.684,
    "l": 7.451
  },
  "oklch": {
    "l": 0.21983,
    "c": 0.05266,
    "h": 149
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#05210C
secondary
#621F52
accent
#37C2F0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #05210C

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

Preview Lab → · Contrast checker → · Palette generator →

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