#05381D#05381D

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

Color values

HEX#05381D
RGBrgb(5, 56, 29)
HSLhsl(148, 84%, 12%)
HSVhsv(148, 91%, 22%)
CMYKcmyk(91.1%, 0%, 48.2%, 78%)
CIE-LABlab(19.84, -23.76, 12.38)
CIE-LCHlch(19.84, 26.79, 152.48°)
OKLaboklab(30.09% -0.0639 0.0307)
OKLCHoklch(30.09% 0.071 154.3)
XYZxyz(1.6984, 2.9491, 1.6419)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05381D #380520
analogous
#073805 #05381D #053837
triadic
#05381D #1D0538 #381D05
tetradic
#05381D #050738 #380520 #383705
square
#05381D #050738 #380520 #383705
split-complementary
#05381D #370538 #380507
monochromatic
#031C0F #031C0F #05381D #0A703A #0FA857

Accessibility & contrast

On white

13.21
#05381D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05381D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05381D#FFFFFF#000000##FFFFFF
##05381D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05381d;
/* rgb */ color: rgb(5, 56, 29);
/* oklch */ color: oklch(30.1% 0.071 154.3);
Tailwind
colors: {
  custom: {
    50: '#4f6f59',
    500: '#05381d',
    950: '#000000',
  },
}
SCSS
$custom: #05381d;
$custom-light: #4f6f59;
$custom-dark: #000000;
JSON
{
  "hex": "#05381d",
  "rgb": {
    "r": 5,
    "g": 56,
    "b": 29
  },
  "hsl": {
    "h": 148.235,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30088,
    "c": 0.07095,
    "h": 154.3
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#05381D
secondary
#79204F
accent
#2E9AFA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05381D

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

Preview Lab → · Contrast checker → · Palette generator →

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