#05380F#05380F

#05380F is a dark, moderate green. Relative luminance 0.029; OKLCH L 29.8% C 0.086 H 145.9°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#05380F
RGBrgb(5, 56, 15)
HSLhsl(132, 84%, 12%)
HSVhsv(132, 91%, 22%)
CMYKcmyk(91.1%, 0%, 73.2%, 78%)
CIE-LABlab(19.62, -26.38, 20.55)
CIE-LCHlch(19.62, 33.44, 142.09°)
OKLaboklab(29.83% -0.071 0.0481)
OKLCHoklch(29.83% 0.086 145.9)
XYZxyz(1.5629, 2.8949, 0.9282)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05380F #38052E
analogous
#153805 #05380F #053829
triadic
#05380F #0F0538 #380F05
tetradic
#05380F #051538 #38052E #382905
square
#05380F #051538 #38052E #382905
split-complementary
#05380F #290538 #380515
monochromatic
#031C08 #031C08 #05380F #0A701E #0FA82D

Accessibility & contrast

On white

13.30
#05380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#05380F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05380F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05380F#FFFFFF#000000##FFFFFF
##05380F1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320A
Deuteranopia (green-blind)
#332E13
Tritanopia (blue-blind)
#00362F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #05380f;
/* rgb */ color: rgb(5, 56, 15);
/* oklch */ color: oklch(29.8% 0.086 145.9);
Tailwind
colors: {
  custom: {
    50: '#506f4f',
    500: '#05380f',
    950: '#000000',
  },
}
SCSS
$custom: #05380f;
$custom-light: #506f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#05380f",
  "rgb": {
    "r": 5,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 131.765,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29834,
    "c": 0.08576,
    "h": 145.9
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#05380F
secondary
#792068
accent
#2ED2FA
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020702
muted
#787A78

Preview Lab

Preview with #05380F

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

Preview Lab → · Contrast checker → · Palette generator →

#05380F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva