#05401B#05401B

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

Color values

HEX#05401B
RGBrgb(5, 64, 27)
HSLhsl(142, 86%, 14%)
HSVhsv(142, 92%, 25%)
CMYKcmyk(92.2%, 0%, 57.8%, 74.9%)
CIE-LABlab(22.92, -27.61, 17.56)
CIE-LCHlch(22.92, 32.72, 147.55°)
OKLaboklab(32.63% -0.0741 0.0425)
OKLCHoklch(32.63% 0.085 150.1)
XYZxyz(2.0936, 3.7779, 1.6556)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05401B #40052A
analogous
#0C4005 #05401B #054038
triadic
#05401B #1B0540 #401B05
tetradic
#05401B #050C40 #40052A #403805
square
#05401B #050C40 #40052A #403805
split-complementary
#05401B #380540 #40050C
monochromatic
#021C0C #021C0C #05401B #097933 #0EB24B

Accessibility & contrast

On white

11.96
#05401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05401B
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05401B#FFFFFF#000000##FFFFFF
##05401B1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#3A351E
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #05401b;
/* rgb */ color: rgb(5, 64, 27);
/* oklch */ color: oklch(32.6% 0.085 150.1);
Tailwind
colors: {
  custom: {
    50: '#527558',
    500: '#05401b',
    950: '#000000',
  },
}
SCSS
$custom: #05401b;
$custom-light: #527558;
$custom-dark: #000000;
JSON
{
  "hex": "#05401b",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 142.373,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.3263,
    "c": 0.08543,
    "h": 150.1
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #05401B

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

Preview Lab → · Contrast checker → · Palette generator →

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