#05220F#05220F

#05220F is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.4% C 0.051 H 151.8°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#05220F
RGBrgb(5, 34, 15)
HSLhsl(141, 74%, 8%)
HSVhsv(141, 85%, 13%)
CMYKcmyk(85.3%, 0%, 55.9%, 86.7%)
CIE-LABlab(10.64, -16.32, 9.08)
CIE-LCHlch(10.64, 18.67, 150.92°)
OKLaboklab(22.4% -0.0447 0.024)
OKLCHoklch(22.4% 0.051 151.8)
XYZxyz(0.7208, 1.2107, 0.6476)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05220F #220518
analogous
#092205 #05220F #05221D
triadic
#05220F #0F0522 #220F05
tetradic
#05220F #050922 #220518 #221D05
square
#05220F #050922 #220518 #221D05
split-complementary
#05220F #1D0522 #220509
monochromatic
#041B0C #041B0C #05220F #0D5727 #158D3E

Accessibility & contrast

On white

16.91
#05220F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#05220F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05220F
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05220F#FFFFFF#000000##FFFFFF
##05220F1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E0E
Deuteranopia (green-blind)
#1E1C10
Tritanopia (blue-blind)
#00211D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #05220f;
/* rgb */ color: rgb(5, 34, 15);
/* oklch */ color: oklch(22.4% 0.051 151.8);
Tailwind
colors: {
  custom: {
    50: '#485d4e',
    500: '#05220f',
    950: '#000000',
  },
}
SCSS
$custom: #05220f;
$custom-light: #485d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#05220f",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 15
  },
  "hsl": {
    "h": 140.69,
    "s": 74.359,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22398,
    "c": 0.05073,
    "h": 151.8
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#05220F
secondary
#631F4C
accent
#37B1F1
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #05220F

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

Preview Lab → · Contrast checker → · Palette generator →

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