#05400C#05400C

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

Color values

HEX#05400C
RGBrgb(5, 64, 12)
HSLhsl(127, 86%, 14%)
HSVhsv(127, 92%, 25%)
CMYKcmyk(92.2%, 0%, 81.2%, 74.9%)
CIE-LABlab(22.74, -29.83, 25.43)
CIE-LCHlch(22.74, 39.20, 139.55°)
OKLaboklab(32.42% -0.0806 0.0579)
OKLCHoklch(32.42% 0.099 144.3)
XYZxyz(1.9622, 3.7254, 0.9634)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05400C #400539
analogous
#1B4005 #05400C #054029
triadic
#05400C #0C0540 #400C05
tetradic
#05400C #051B40 #400539 #402905
square
#05400C #051B40 #400539 #402905
split-complementary
#05400C #290540 #40051B
monochromatic
#021C05 #021C05 #05400C #097917 #0EB221

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##05400C#FFFFFF#000000##FFFFFF
##05400C1.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)
#413905
Deuteranopia (green-blind)
#3B3511
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #05400c;
/* rgb */ color: rgb(5, 64, 12);
/* oklch */ color: oklch(32.4% 0.099 144.3);
Tailwind
colors: {
  custom: {
    50: '#52764e',
    500: '#05400c',
    950: '#000000',
  },
}
SCSS
$custom: #05400c;
$custom-light: #52764e;
$custom-dark: #000000;
JSON
{
  "hex": "#05400c",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 127.119,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32421,
    "c": 0.09923,
    "h": 144.3
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#05400C
secondary
#812075
accent
#2CE3FC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #05400C

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

Preview Lab → · Contrast checker → · Palette generator →

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