#05381E#05381E

#05381E is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.1% C 0.070 H 155.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#05381E
RGBrgb(5, 56, 30)
HSLhsl(149, 84%, 12%)
HSVhsv(149, 91%, 22%)
CMYKcmyk(91.1%, 0%, 46.4%, 78%)
CIE-LABlab(19.86, -23.53, 11.76)
CIE-LCHlch(19.86, 26.30, 153.44°)
OKLaboklab(30.11% -0.0634 0.0293)
OKLCHoklch(30.11% 0.07 155.2)
XYZxyz(1.7109, 2.9541, 1.7081)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05381E #38051F
analogous
#053805 #05381E #053838
triadic
#05381E #1E0538 #381E05
tetradic
#05381E #050538 #38051F #383805
square
#05381E #050538 #38051F #383805
split-complementary
#05381E #380538 #380505
monochromatic
#031C0F #031C0F #05381E #0A703C #0FA85A

Accessibility & contrast

On white

13.20
#05381E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05381E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05381E#FFFFFF#000000##FFFFFF
##05381E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331C
Deuteranopia (green-blind)
#322E20
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #05381e;
/* rgb */ color: rgb(5, 56, 30);
/* oklch */ color: oklch(30.1% 0.070 155.2);
Tailwind
colors: {
  custom: {
    50: '#4f6f5a',
    500: '#05381e',
    950: '#000000',
  },
}
SCSS
$custom: #05381e;
$custom-light: #4f6f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05381e",
  "rgb": {
    "r": 5,
    "g": 56,
    "b": 30
  },
  "hsl": {
    "h": 149.412,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30112,
    "c": 0.06982,
    "h": 155.2
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #05381E

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

Preview Lab → · Contrast checker → · Palette generator →

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