#05401E#05401E

#05401E is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.082 H 151.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#05401E
RGBrgb(5, 64, 30)
HSLhsl(145, 86%, 14%)
HSVhsv(145, 92%, 25%)
CMYKcmyk(92.2%, 0%, 53.1%, 74.9%)
CIE-LABlab(22.97, -27.02, 15.80)
CIE-LCHlch(22.97, 31.30, 149.68°)
OKLaboklab(32.69% -0.0725 0.0387)
OKLCHoklch(32.69% 0.082 151.9)
XYZxyz(2.1301, 3.7925, 1.8478)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05401E #400527
analogous
#094005 #05401E #05403B
triadic
#05401E #1E0540 #401E05
tetradic
#05401E #050940 #400527 #403B05
square
#05401E #050940 #400527 #403B05
split-complementary
#05401E #3B0540 #400509
monochromatic
#021C0D #021C0D #05401E #097939 #0EB253

Accessibility & contrast

On white

11.94
#05401E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05401E
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05401E#FFFFFF#000000##FFFFFF
##05401E1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05401e;
/* rgb */ color: rgb(5, 64, 30);
/* oklch */ color: oklch(32.7% 0.082 151.9);
Tailwind
colors: {
  custom: {
    50: '#51755a',
    500: '#05401e',
    950: '#000000',
  },
}
SCSS
$custom: #05401e;
$custom-light: #51755a;
$custom-dark: #000000;
JSON
{
  "hex": "#05401e",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 30
  },
  "hsl": {
    "h": 145.424,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32688,
    "c": 0.0822,
    "h": 151.9
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#05401E
secondary
#812058
accent
#2CA4FC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #05401E

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

Preview Lab → · Contrast checker → · Palette generator →

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