#05400B#05400B

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

Color values

HEX#05400B
RGBrgb(5, 64, 11)
HSLhsl(126, 86%, 14%)
HSVhsv(126, 92%, 25%)
CMYKcmyk(92.2%, 0%, 82.8%, 74.9%)
CIE-LABlab(22.73, -29.93, 25.87)
CIE-LCHlch(22.73, 39.56, 139.17°)
OKLaboklab(32.41% -0.0809 0.0587)
OKLCHoklch(32.41% 0.1 144)
XYZxyz(1.9563, 3.7230, 0.9320)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05400B #40053A
analogous
#1C4005 #05400B #054028
triadic
#05400B #0B0540 #400B05
tetradic
#05400B #051C40 #40053A #402805
square
#05400B #051C40 #40053A #402805
split-complementary
#05400B #280540 #40051C
monochromatic
#021C05 #021C05 #05400B #097915 #0EB21F

Accessibility & contrast

On white

12.04
#05400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#05400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05400B
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05400B#FFFFFF#000000##FFFFFF
##05400B1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05400b;
/* rgb */ color: rgb(5, 64, 11);
/* oklch */ color: oklch(32.4% 0.100 144.0);
Tailwind
colors: {
  custom: {
    50: '#53764e',
    500: '#05400b',
    950: '#000000',
  },
}
SCSS
$custom: #05400b;
$custom-light: #53764e;
$custom-dark: #000000;
JSON
{
  "hex": "#05400b",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 126.102,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32411,
    "c": 0.09995,
    "h": 144
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#05400B
secondary
#812077
accent
#2CE7FC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #05400B

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

Preview Lab → · Contrast checker → · Palette generator →

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