#05381A#05381A

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

Color values

HEX#05381A
RGBrgb(5, 56, 26)
HSLhsl(145, 84%, 12%)
HSVhsv(145, 91%, 22%)
CMYKcmyk(91.1%, 0%, 53.6%, 78%)
CIE-LABlab(19.78, -24.42, 14.22)
CIE-LCHlch(19.78, 28.26, 149.79°)
OKLaboklab(30.02% -0.0656 0.0349)
OKLCHoklch(30.02% 0.074 152)
XYZxyz(1.6631, 2.9350, 1.4559)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05381A #380523
analogous
#093805 #05381A #053834
triadic
#05381A #1A0538 #381A05
tetradic
#05381A #050938 #380523 #383405
square
#05381A #050938 #380523 #383405
split-complementary
#05381A #340538 #380509
monochromatic
#031C0D #031C0D #05381A #0A7034 #0FA84E

Accessibility & contrast

On white

13.23
#05381A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05381A
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05381A#FFFFFF#000000##FFFFFF
##05381A1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383218
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #05381a;
/* rgb */ color: rgb(5, 56, 26);
/* oklch */ color: oklch(30.0% 0.074 152.0);
Tailwind
colors: {
  custom: {
    50: '#4f6f57',
    500: '#05381a',
    950: '#000000',
  },
}
SCSS
$custom: #05381a;
$custom-light: #4f6f57;
$custom-dark: #000000;
JSON
{
  "hex": "#05381a",
  "rgb": {
    "r": 5,
    "g": 56,
    "b": 26
  },
  "hsl": {
    "h": 144.706,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30022,
    "c": 0.07431,
    "h": 152
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#05381A
secondary
#792054
accent
#2EA6FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05381A

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

Preview Lab → · Contrast checker → · Palette generator →

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