#05381C#05381C

#05381C is a dark, moderate green. Relative luminance 0.029; OKLCH L 30.1% C 0.072 H 153.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#05381C
RGBrgb(5, 56, 28)
HSLhsl(147, 84%, 12%)
HSVhsv(147, 91%, 22%)
CMYKcmyk(91.1%, 0%, 50%, 78%)
CIE-LABlab(19.82, -23.99, 13.00)
CIE-LCHlch(19.82, 27.28, 151.55°)
OKLaboklab(30.07% -0.0645 0.0322)
OKLCHoklch(30.07% 0.072 153.5)
XYZxyz(1.6862, 2.9442, 1.5778)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05381C #380521
analogous
#073805 #05381C #053836
triadic
#05381C #1C0538 #381C05
tetradic
#05381C #050738 #380521 #383605
square
#05381C #050738 #380521 #383605
split-complementary
#05381C #360538 #380507
monochromatic
#031C0E #031C0E #05381C #0A7038 #0FA854

Accessibility & contrast

On white

13.22
#05381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#05381C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05381C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05381C#FFFFFF#000000##FFFFFF
##05381C1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38321A
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #05381c;
/* rgb */ color: rgb(5, 56, 28);
/* oklch */ color: oklch(30.1% 0.072 153.5);
Tailwind
colors: {
  custom: {
    50: '#4f6f58',
    500: '#05381c',
    950: '#000000',
  },
}
SCSS
$custom: #05381c;
$custom-light: #4f6f58;
$custom-dark: #000000;
JSON
{
  "hex": "#05381c",
  "rgb": {
    "r": 5,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 147.059,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30066,
    "c": 0.07207,
    "h": 153.5
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#05381C
secondary
#792051
accent
#2E9EFA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05381C

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

Preview Lab → · Contrast checker → · Palette generator →

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