#05210F#05210F

#05210F is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.1% C 0.049 H 152.4°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#05210F
RGBrgb(5, 33, 15)
HSLhsl(141, 74%, 7%)
HSVhsv(141, 85%, 13%)
CMYKcmyk(84.8%, 0%, 54.5%, 87.1%)
CIE-LABlab(10.22, -15.67, 8.49)
CIE-LCHlch(10.22, 17.82, 151.55°)
OKLaboklab(22.05% -0.0434 0.0227)
OKLCHoklch(22.05% 0.049 152.4)
XYZxyz(0.6926, 1.1544, 0.6382)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05210F #210517
analogous
#092105 #05210F #05211D
triadic
#05210F #0F0521 #210F05
tetradic
#05210F #050921 #210517 #211D05
square
#05210F #050921 #210517 #211D05
split-complementary
#05210F #1D0521 #210509
monochromatic
#041B0C #041B0C #05210F #0D5627 #158B3F

Accessibility & contrast

On white

17.06
#05210F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05210F
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05210F#FFFFFF#000000##FFFFFF
##05210F1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.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: #05210f;
/* rgb */ color: rgb(5, 33, 15);
/* oklch */ color: oklch(22.1% 0.049 152.4);
Tailwind
colors: {
  custom: {
    50: '#485c4e',
    500: '#05210f',
    950: '#000000',
  },
}
SCSS
$custom: #05210f;
$custom-light: #485c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#05210f",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 15
  },
  "hsl": {
    "h": 141.429,
    "s": 73.684,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22052,
    "c": 0.04894,
    "h": 152.4
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#05210F
secondary
#621F4A
accent
#37AEF0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #05210F

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

Preview Lab → · Contrast checker → · Palette generator →

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