#05401C#05401C

#05401C is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.084 H 150.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#05401C
RGBrgb(5, 64, 28)
HSLhsl(143, 86%, 14%)
HSVhsv(143, 92%, 25%)
CMYKcmyk(92.2%, 0%, 56.2%, 74.9%)
CIE-LABlab(22.94, -27.42, 16.98)
CIE-LCHlch(22.94, 32.25, 148.23°)
OKLaboklab(32.65% -0.0736 0.0413)
OKLCHoklch(32.65% 0.084 150.7)
XYZxyz(2.1054, 3.7826, 1.7175)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05401C #400529
analogous
#0B4005 #05401C #054039
triadic
#05401C #1C0540 #401C05
tetradic
#05401C #050B40 #400529 #403905
square
#05401C #050B40 #400529 #403905
split-complementary
#05401C #390540 #40050B
monochromatic
#021C0C #021C0C #05401C #097935 #0EB24E

Accessibility & contrast

On white

11.95
#05401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#05401C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05401C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05401C#FFFFFF#000000##FFFFFF
##05401C1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A19
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #05401c;
/* rgb */ color: rgb(5, 64, 28);
/* oklch */ color: oklch(32.6% 0.084 150.7);
Tailwind
colors: {
  custom: {
    50: '#527559',
    500: '#05401c',
    950: '#000000',
  },
}
SCSS
$custom: #05401c;
$custom-light: #527559;
$custom-dark: #000000;
JSON
{
  "hex": "#05401c",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 143.39,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32649,
    "c": 0.08436,
    "h": 150.7
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#05401C
secondary
#81205B
accent
#2CABFC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #05401C

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

Preview Lab → · Contrast checker → · Palette generator →

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