#05340F#05340F

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

Color values

HEX#05340F
RGBrgb(5, 52, 15)
HSLhsl(133, 82%, 11%)
HSVhsv(133, 90%, 20%)
CMYKcmyk(90.4%, 0%, 71.2%, 79.6%)
CIE-LABlab(18.02, -24.76, 18.68)
CIE-LCHlch(18.02, 31.02, 142.97°)
OKLaboklab(28.51% -0.0666 0.0441)
OKLCHoklch(28.51% 0.08 146.5)
XYZxyz(1.3767, 2.5226, 0.8662)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05340F #34052A
analogous
#123405 #05340F #053426
triadic
#05340F #0F0534 #340F05
tetradic
#05340F #051234 #34052A #342605
square
#05340F #051234 #34052A #342605
split-complementary
#05340F #260534 #340512
monochromatic
#031C08 #031C08 #05340F #0A6C1F #10A42F

Accessibility & contrast

On white

13.96
#05340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05340F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05340F#FFFFFF#000000##FFFFFF
##05340F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0B
Deuteranopia (green-blind)
#302B12
Tritanopia (blue-blind)
#00332C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #05340f;
/* rgb */ color: rgb(5, 52, 15);
/* oklch */ color: oklch(28.5% 0.080 146.5);
Tailwind
colors: {
  custom: {
    50: '#4e6c4f',
    500: '#05340f',
    950: '#000000',
  },
}
SCSS
$custom: #05340f;
$custom-light: #4e6c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#05340f",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 132.766,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28507,
    "c": 0.07993,
    "h": 146.5
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#05340F
secondary
#751F63
accent
#2FCEF9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #05340F

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

Preview Lab → · Contrast checker → · Palette generator →

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