#05400F#05400F

#05400F is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.097 H 145.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#05400F
RGBrgb(5, 64, 15)
HSLhsl(130, 86%, 14%)
HSVhsv(130, 92%, 25%)
CMYKcmyk(92.2%, 0%, 76.6%, 74.9%)
CIE-LABlab(22.77, -29.48, 24.03)
CIE-LCHlch(22.77, 38.04, 140.82°)
OKLaboklab(32.45% -0.0795 0.0554)
OKLCHoklch(32.45% 0.097 145.1)
XYZxyz(1.9821, 3.7333, 1.0680)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05400F #400536
analogous
#184005 #05400F #05402C
triadic
#05400F #0F0540 #400F05
tetradic
#05400F #051840 #400536 #402C05
square
#05400F #051840 #400536 #402C05
split-complementary
#05400F #2C0540 #400518
monochromatic
#021C07 #021C07 #05400F #09791C #0EB22A

Accessibility & contrast

On white

12.02
#05400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05400F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05400F#FFFFFF#000000##FFFFFF
##05400F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05400f;
/* rgb */ color: rgb(5, 64, 15);
/* oklch */ color: oklch(32.5% 0.097 145.1);
Tailwind
colors: {
  custom: {
    50: '#527650',
    500: '#05400f',
    950: '#000000',
  },
}
SCSS
$custom: #05400f;
$custom-light: #527650;
$custom-dark: #000000;
JSON
{
  "hex": "#05400f",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 130.169,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32453,
    "c": 0.0969,
    "h": 145.1
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#05400F
secondary
#812070
accent
#2CD9FC
background
#F5F7F4
surface
#E8EDE7
border
#C4C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #05400F

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

Preview Lab → · Contrast checker → · Palette generator →

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