#05400D#05400D

#05400D is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.098 H 144.5°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#05400D
RGBrgb(5, 64, 13)
HSLhsl(128, 86%, 14%)
HSVhsv(128, 92%, 25%)
CMYKcmyk(92.2%, 0%, 79.7%, 74.9%)
CIE-LABlab(22.75, -29.72, 24.98)
CIE-LCHlch(22.75, 38.82, 139.95°)
OKLaboklab(32.43% -0.0802 0.0571)
OKLCHoklch(32.43% 0.098 144.5)
XYZxyz(1.9685, 3.7279, 0.9965)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05400D #400538
analogous
#1A4005 #05400D #05402A
triadic
#05400D #0D0540 #400D05
tetradic
#05400D #051A40 #400538 #402A05
square
#05400D #051A40 #400538 #402A05
split-complementary
#05400D #2A0540 #40051A
monochromatic
#021C06 #021C06 #05400D #097919 #0EB224

Accessibility & contrast

On white

12.03
#05400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#05400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05400D
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05400D#FFFFFF#000000##FFFFFF
##05400D1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413906
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #05400d;
/* rgb */ color: rgb(5, 64, 13);
/* oklch */ color: oklch(32.4% 0.098 144.5);
Tailwind
colors: {
  custom: {
    50: '#52764f',
    500: '#05400d',
    950: '#000000',
  },
}
SCSS
$custom: #05400d;
$custom-light: #52764f;
$custom-dark: #000000;
JSON
{
  "hex": "#05400d",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 128.136,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32431,
    "c": 0.09848,
    "h": 144.5
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#05400D
secondary
#812073
accent
#2CE0FC
background
#F5F7F4
surface
#E8EDE7
border
#C4C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #05400D

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

Preview Lab → · Contrast checker → · Palette generator →

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