#05381B#05381B

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

Color values

HEX#05381B
RGBrgb(5, 56, 27)
HSLhsl(146, 84%, 12%)
HSVhsv(146, 91%, 22%)
CMYKcmyk(91.1%, 0%, 51.8%, 78%)
CIE-LABlab(19.80, -24.21, 13.61)
CIE-LCHlch(19.80, 27.77, 150.65°)
OKLaboklab(30.04% -0.0651 0.0335)
OKLCHoklch(30.04% 0.073 152.7)
XYZxyz(1.6744, 2.9395, 1.5158)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05381B #380522
analogous
#093805 #05381B #053835
triadic
#05381B #1B0538 #381B05
tetradic
#05381B #050938 #380522 #383505
square
#05381B #050938 #380522 #383505
split-complementary
#05381B #350538 #380509
monochromatic
#031C0E #031C0E #05381B #0A7036 #0FA851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##05381B#FFFFFF#000000##FFFFFF
##05381B1.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)
#383219
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #05381b;
/* rgb */ color: rgb(5, 56, 27);
/* oklch */ color: oklch(30.0% 0.073 152.7);
Tailwind
colors: {
  custom: {
    50: '#4f6f57',
    500: '#05381b',
    950: '#000000',
  },
}
SCSS
$custom: #05381b;
$custom-light: #4f6f57;
$custom-dark: #000000;
JSON
{
  "hex": "#05381b",
  "rgb": {
    "r": 5,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 145.882,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30044,
    "c": 0.0732,
    "h": 152.7
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#05381B
secondary
#792053
accent
#2EA2FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05381B

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

Preview Lab → · Contrast checker → · Palette generator →

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