#05340D#05340D

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

Color values

HEX#05340D
RGBrgb(5, 52, 13)
HSLhsl(130, 82%, 11%)
HSVhsv(130, 90%, 20%)
CMYKcmyk(90.4%, 0%, 75%, 79.6%)
CIE-LABlab(18.00, -25.05, 19.66)
CIE-LCHlch(18.00, 31.85, 141.88°)
OKLaboklab(28.48% -0.0675 0.0463)
OKLCHoklch(28.48% 0.082 145.6)
XYZxyz(1.3631, 2.5171, 0.7947)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05340D #34052C
analogous
#143405 #05340D #053424
triadic
#05340D #0D0534 #340D05
tetradic
#05340D #051434 #34052C #342405
square
#05340D #051434 #34052C #342405
split-complementary
#05340D #240534 #340514
monochromatic
#031C07 #031C07 #05340D #0A6C1B #10A429

Accessibility & contrast

On white

13.97
#05340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05340D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05340D#FFFFFF#000000##FFFFFF
##05340D1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05340d;
/* rgb */ color: rgb(5, 52, 13);
/* oklch */ color: oklch(28.5% 0.082 145.6);
Tailwind
colors: {
  custom: {
    50: '#4e6c4d',
    500: '#05340d',
    950: '#000000',
  },
}
SCSS
$custom: #05340d;
$custom-light: #4e6c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#05340d",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 130.213,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28479,
    "c": 0.08185,
    "h": 145.6
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#05340D
secondary
#751F67
accent
#2FD6F9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #05340D

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

Preview Lab → · Contrast checker → · Palette generator →

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