#05210E#05210E

#05210E is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.0% C 0.050 H 151.2°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#05210E
RGBrgb(5, 33, 14)
HSLhsl(139, 74%, 7%)
HSVhsv(139, 85%, 13%)
CMYKcmyk(84.8%, 0%, 57.6%, 87.1%)
CIE-LABlab(10.20, -15.86, 8.97)
CIE-LCHlch(10.20, 18.22, 150.49°)
OKLaboklab(22.03% -0.044 0.0242)
OKLCHoklch(22.03% 0.05 151.2)
XYZxyz(0.6857, 1.1516, 0.6015)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05210E #210518
analogous
#0A2105 #05210E #05211C
triadic
#05210E #0E0521 #210E05
tetradic
#05210E #050A21 #210518 #211C05
square
#05210E #050A21 #210518 #211C05
split-complementary
#05210E #1C0521 #21050A
monochromatic
#041B0B #041B0B #05210E #0D5625 #158B3B

Accessibility & contrast

On white

17.07
#05210E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05210E
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05210E#FFFFFF#000000##FFFFFF
##05210E1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05210e;
/* rgb */ color: rgb(5, 33, 14);
/* oklch */ color: oklch(22.0% 0.050 151.2);
Tailwind
colors: {
  custom: {
    50: '#485c4d',
    500: '#05210e',
    950: '#000000',
  },
}
SCSS
$custom: #05210e;
$custom-light: #485c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#05210e",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 14
  },
  "hsl": {
    "h": 139.286,
    "s": 73.684,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22028,
    "c": 0.05019,
    "h": 151.2
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#05210E
secondary
#621F4D
accent
#37B5F0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #05210E

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

Preview Lab → · Contrast checker → · Palette generator →

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