#05340E#05340E

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

Color values

HEX#05340E
RGBrgb(5, 52, 14)
HSLhsl(131, 82%, 11%)
HSVhsv(131, 90%, 20%)
CMYKcmyk(90.4%, 0%, 73.1%, 79.6%)
CIE-LABlab(18.01, -24.91, 19.18)
CIE-LCHlch(18.01, 31.44, 142.40°)
OKLaboklab(28.49% -0.0671 0.0452)
OKLCHoklch(28.49% 0.081 146)
XYZxyz(1.3697, 2.5198, 0.8296)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05340E #34052B
analogous
#133405 #05340E #053425
triadic
#05340E #0E0534 #340E05
tetradic
#05340E #051334 #34052B #342505
square
#05340E #051334 #34052B #342505
split-complementary
#05340E #250534 #340513
monochromatic
#031C08 #031C08 #05340E #0A6C1D #10A42C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #05340e;
/* rgb */ color: rgb(5, 52, 14);
/* oklch */ color: oklch(28.5% 0.081 146.0);
Tailwind
colors: {
  custom: {
    50: '#4e6c4e',
    500: '#05340e',
    950: '#000000',
  },
}
SCSS
$custom: #05340e;
$custom-light: #4e6c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#05340e",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 131.489,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28493,
    "c": 0.0809,
    "h": 146
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#05340E
secondary
#751F65
accent
#2FD2F9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #05340E

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

Preview Lab → · Contrast checker → · Palette generator →

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