#05380C#05380C

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

Color values

HEX#05380C
RGBrgb(5, 56, 12)
HSLhsl(128, 84%, 12%)
HSVhsv(128, 91%, 22%)
CMYKcmyk(91.1%, 0%, 78.6%, 78%)
CIE-LABlab(19.59, -26.78, 21.99)
CIE-LCHlch(19.59, 34.65, 140.62°)
OKLaboklab(29.8% -0.0723 0.0509)
OKLCHoklch(29.8% 0.088 144.8)
XYZxyz(1.5430, 2.8870, 0.8237)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05380C #380531
analogous
#183805 #05380C #053826
triadic
#05380C #0C0538 #380C05
tetradic
#05380C #051838 #380531 #382605
square
#05380C #051838 #380531 #382605
split-complementary
#05380C #260538 #380518
monochromatic
#031C06 #031C06 #05380C #0A7018 #0FA824

Accessibility & contrast

On white

13.31
#05380C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05380C
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05380C#FFFFFF#000000##FFFFFF
##05380C1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393206
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#00362F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #05380c;
/* rgb */ color: rgb(5, 56, 12);
/* oklch */ color: oklch(29.8% 0.088 144.8);
Tailwind
colors: {
  custom: {
    50: '#506f4d',
    500: '#05380c',
    950: '#000000',
  },
}
SCSS
$custom: #05380c;
$custom-light: #506f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#05380c",
  "rgb": {
    "r": 5,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 128.235,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29796,
    "c": 0.08842,
    "h": 144.8
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#05380C
secondary
#79206D
accent
#2EDEFA
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #05380C

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

Preview Lab → · Contrast checker → · Palette generator →

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