#05340B#05340B

#05340B is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.5% C 0.084 H 144.8°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#05340B
RGBrgb(5, 52, 11)
HSLhsl(128, 82%, 11%)
HSVhsv(128, 90%, 20%)
CMYKcmyk(90.4%, 0%, 78.8%, 79.6%)
CIE-LABlab(17.97, -25.32, 20.54)
CIE-LCHlch(17.97, 32.61, 140.95°)
OKLaboklab(28.45% -0.0684 0.0482)
OKLCHoklch(28.45% 0.084 144.8)
XYZxyz(1.3509, 2.5122, 0.7303)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05340B #34052E
analogous
#163405 #05340B #053422
triadic
#05340B #0B0534 #340B05
tetradic
#05340B #051634 #34052E #342205
square
#05340B #051634 #34052E #342205
split-complementary
#05340B #220534 #340516
monochromatic
#031C06 #031C06 #05340B #0A6C17 #10A423

Accessibility & contrast

On white

13.98
#05340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#05340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05340B
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05340B#FFFFFF#000000##FFFFFF
##05340B1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E06
Deuteranopia (green-blind)
#302B0F
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #05340b;
/* rgb */ color: rgb(5, 52, 11);
/* oklch */ color: oklch(28.5% 0.084 144.8);
Tailwind
colors: {
  custom: {
    50: '#4e6c4c',
    500: '#05340b',
    950: '#000000',
  },
}
SCSS
$custom: #05340b;
$custom-light: #4e6c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#05340b",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 127.66,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28454,
    "c": 0.08364,
    "h": 144.8
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#05340B
secondary
#751F6A
accent
#2FDFF9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #05340B

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

Preview Lab → · Contrast checker → · Palette generator →

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