#05401F#05401F

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

Color values

HEX#05401F
RGBrgb(5, 64, 31)
HSLhsl(146, 86%, 14%)
HSVhsv(146, 92%, 25%)
CMYKcmyk(92.2%, 0%, 51.6%, 74.9%)
CIE-LABlab(22.99, -26.81, 15.20)
CIE-LCHlch(22.99, 30.82, 150.44°)
OKLaboklab(32.71% -0.072 0.0374)
OKLCHoklch(32.71% 0.081 152.6)
XYZxyz(2.1431, 3.7977, 1.9161)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05401F #400526
analogous
#084005 #05401F #05403C
triadic
#05401F #1F0540 #401F05
tetradic
#05401F #050840 #400526 #403C05
square
#05401F #050840 #400526 #403C05
split-complementary
#05401F #3C0540 #400508
monochromatic
#021C0E #021C0E #05401F #09793A #0EB256

Accessibility & contrast

On white

11.93
#05401F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05401F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05401F#FFFFFF#000000##FFFFFF
##05401F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1C
Deuteranopia (green-blind)
#393521
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #05401f;
/* rgb */ color: rgb(5, 64, 31);
/* oklch */ color: oklch(32.7% 0.081 152.6);
Tailwind
colors: {
  custom: {
    50: '#51755b',
    500: '#05401f',
    950: '#000000',
  },
}
SCSS
$custom: #05401f;
$custom-light: #51755b;
$custom-dark: #000000;
JSON
{
  "hex": "#05401f",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 146.441,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32708,
    "c": 0.08111,
    "h": 152.6
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#05401F
secondary
#812056
accent
#2CA0FC
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #05401F

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

Preview Lab → · Contrast checker → · Palette generator →

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