#05321A#05321A

#05321A is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.1% C 0.065 H 154.7°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#05321A
RGBrgb(5, 50, 26)
HSLhsl(148, 82%, 11%)
HSVhsv(148, 90%, 20%)
CMYKcmyk(90%, 0%, 48%, 80.4%)
CIE-LABlab(17.40, -21.72, 11.13)
CIE-LCHlch(17.40, 24.41, 152.86°)
OKLaboklab(28.06% -0.0585 0.0277)
OKLCHoklch(28.06% 0.065 154.7)
XYZxyz(1.3895, 2.3879, 1.3648)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05321A #32051D
analogous
#063205 #05321A #053230
triadic
#05321A #1A0532 #321A05
tetradic
#05321A #050632 #32051D #323005
square
#05321A #050632 #32051D #323005
split-complementary
#05321A #300532 #320506
monochromatic
#031C0E #031C0E #05321A #0B6A37 #10A154

Accessibility & contrast

On white

14.21
#05321A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#05321A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05321A
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05321A#FFFFFF#000000##FFFFFF
##05321A1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D18
Deuteranopia (green-blind)
#2C291C
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #05321a;
/* rgb */ color: rgb(5, 50, 26);
/* oklch */ color: oklch(28.1% 0.065 154.7);
Tailwind
colors: {
  custom: {
    50: '#4d6a56',
    500: '#05321a',
    950: '#000000',
  },
}
SCSS
$custom: #05321a;
$custom-light: #4d6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#05321a",
  "rgb": {
    "r": 5,
    "g": 50,
    "b": 26
  },
  "hsl": {
    "h": 148,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28056,
    "c": 0.06476,
    "h": 154.7
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#05321A
secondary
#731F4C
accent
#309BF8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05321A

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

Preview Lab → · Contrast checker → · Palette generator →

#05321A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva