#05321B#05321B

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

Color values

HEX#05321B
RGBrgb(5, 50, 27)
HSLhsl(149, 82%, 11%)
HSVhsv(149, 90%, 20%)
CMYKcmyk(90%, 0%, 46%, 80.4%)
CIE-LABlab(17.42, -21.48, 10.50)
CIE-LCHlch(17.42, 23.91, 153.95°)
OKLaboklab(28.08% -0.0579 0.0262)
OKLCHoklch(28.08% 0.064 155.6)
XYZxyz(1.4009, 2.3924, 1.4247)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05321B #32051C
analogous
#063205 #05321B #053231
triadic
#05321B #1B0532 #321B05
tetradic
#05321B #050632 #32051C #323105
square
#05321B #050632 #32051C #323105
split-complementary
#05321B #310532 #320506
monochromatic
#031C0F #031C0F #05321B #0B6A39 #10A157

Accessibility & contrast

On white

14.20
#05321B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05321B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05321B#FFFFFF#000000##FFFFFF
##05321B1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05321b;
/* rgb */ color: rgb(5, 50, 27);
/* oklch */ color: oklch(28.1% 0.064 155.6);
Tailwind
colors: {
  custom: {
    50: '#4d6a57',
    500: '#05321b',
    950: '#000000',
  },
}
SCSS
$custom: #05321b;
$custom-light: #4d6a57;
$custom-dark: #000000;
JSON
{
  "hex": "#05321b",
  "rgb": {
    "r": 5,
    "g": 50,
    "b": 27
  },
  "hsl": {
    "h": 149.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28081,
    "c": 0.06361,
    "h": 155.6
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#05321B
secondary
#731F4A
accent
#3096F8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05321B

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

Preview Lab → · Contrast checker → · Palette generator →

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