#05341B#05341B

#05341B is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.7% C 0.067 H 154.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#05341B
RGBrgb(5, 52, 27)
HSLhsl(148, 82%, 11%)
HSVhsv(148, 90%, 20%)
CMYKcmyk(90.4%, 0%, 48.1%, 79.6%)
CIE-LABlab(18.22, -22.41, 11.55)
CIE-LCHlch(18.22, 25.21, 152.73°)
OKLaboklab(28.74% -0.0603 0.0287)
OKLCHoklch(28.74% 0.067 154.5)
XYZxyz(1.4883, 2.5672, 1.4538)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05341B #34051E
analogous
#063405 #05341B #053432
triadic
#05341B #1B0534 #341B05
tetradic
#05341B #050634 #34051E #343205
square
#05341B #050634 #34051E #343205
split-complementary
#05341B #320534 #340506
monochromatic
#031C0E #031C0E #05341B #0A6C38 #10A455

Accessibility & contrast

On white

13.88
#05341B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#05341B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05341B
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05341B#FFFFFF#000000##FFFFFF
##05341B1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#2E2B1D
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #05341b;
/* rgb */ color: rgb(5, 52, 27);
/* oklch */ color: oklch(28.7% 0.067 154.5);
Tailwind
colors: {
  custom: {
    50: '#4e6c57',
    500: '#05341b',
    950: '#000000',
  },
}
SCSS
$custom: #05341b;
$custom-light: #4e6c57;
$custom-dark: #000000;
JSON
{
  "hex": "#05341b",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 27
  },
  "hsl": {
    "h": 148.085,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28737,
    "c": 0.06684,
    "h": 154.5
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#05341B
secondary
#751F4D
accent
#2F9AF9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05341B

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

Preview Lab → · Contrast checker → · Palette generator →

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