#05340A#05340A

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

Color values

HEX#05340A
RGBrgb(5, 52, 10)
HSLhsl(126, 82%, 11%)
HSVhsv(126, 90%, 20%)
CMYKcmyk(90.4%, 0%, 80.8%, 79.6%)
CIE-LABlab(17.96, -25.45, 20.95)
CIE-LCHlch(17.96, 32.96, 140.54°)
OKLaboklab(28.44% -0.0687 0.0491)
OKLCHoklch(28.44% 0.084 144.5)
XYZxyz(1.3453, 2.5100, 0.7007)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05340A #34052F
analogous
#173405 #05340A #053421
triadic
#05340A #0A0534 #340A05
tetradic
#05340A #051734 #34052F #342105
square
#05340A #051734 #34052F #342105
split-complementary
#05340A #210534 #340517
monochromatic
#031C05 #031C05 #05340A #0A6C15 #10A41F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##05340A#FFFFFF#000000##FFFFFF
##05340A1.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)
#352E05
Deuteranopia (green-blind)
#302B0E
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #05340a;
/* rgb */ color: rgb(5, 52, 10);
/* oklch */ color: oklch(28.4% 0.084 144.5);
Tailwind
colors: {
  custom: {
    50: '#4e6c4c',
    500: '#05340a',
    950: '#000000',
  },
}
SCSS
$custom: #05340a;
$custom-light: #4e6c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#05340a",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 126.383,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28442,
    "c": 0.08449,
    "h": 144.5
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#05340A
secondary
#751F6C
accent
#2FE3F9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #05340A

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

Preview Lab → · Contrast checker → · Palette generator →

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