#05340C#05340C

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

Color values

HEX#05340C
RGBrgb(5, 52, 12)
HSLhsl(129, 82%, 11%)
HSVhsv(129, 90%, 20%)
CMYKcmyk(90.4%, 0%, 76.9%, 79.6%)
CIE-LABlab(17.98, -25.19, 20.11)
CIE-LCHlch(17.98, 32.24, 141.40°)
OKLaboklab(28.47% -0.0679 0.0472)
OKLCHoklch(28.47% 0.083 145.2)
XYZxyz(1.3568, 2.5146, 0.7616)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05340C #34052D
analogous
#153405 #05340C #053423
triadic
#05340C #0C0534 #340C05
tetradic
#05340C #051534 #34052D #342305
square
#05340C #051534 #34052D #342305
split-complementary
#05340C #230534 #340515
monochromatic
#031C06 #031C06 #05340C #0A6C19 #10A426

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #05340c;
/* rgb */ color: rgb(5, 52, 12);
/* oklch */ color: oklch(28.5% 0.083 145.2);
Tailwind
colors: {
  custom: {
    50: '#4e6c4d',
    500: '#05340c',
    950: '#000000',
  },
}
SCSS
$custom: #05340c;
$custom-light: #4e6c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#05340c",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 128.936,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28466,
    "c": 0.08276,
    "h": 145.2
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#05340C
secondary
#751F69
accent
#2FDBF9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #05340C

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

Preview Lab → · Contrast checker → · Palette generator →

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