#06381C#06381C

#06381C is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.1% C 0.072 H 153.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#06381C
RGBrgb(6, 56, 28)
HSLhsl(146, 81%, 12%)
HSVhsv(146, 89%, 22%)
CMYKcmyk(89.3%, 0%, 50%, 78%)
CIE-LABlab(19.85, -23.78, 13.04)
CIE-LCHlch(19.85, 27.12, 151.27°)
OKLaboklab(30.1% -0.064 0.0322)
OKLCHoklch(30.1% 0.072 153.3)
XYZxyz(1.6987, 2.9507, 1.5784)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06381C #380622
analogous
#093806 #06381C #063835
triadic
#06381C #1C0638 #381C06
tetradic
#06381C #060938 #380622 #383506
square
#06381C #060938 #380622 #383506
split-complementary
#06381C #350638 #380609
monochromatic
#031C0E #031C0E #06381C #0C6F38 #12A753

Accessibility & contrast

On white

13.21
#06381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#06381C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06381C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06381C#FFFFFF#000000##FFFFFF
##06381C1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38321A
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #06381c;
/* rgb */ color: rgb(6, 56, 28);
/* oklch */ color: oklch(30.1% 0.072 153.3);
Tailwind
colors: {
  custom: {
    50: '#4f6f58',
    500: '#06381c',
    950: '#000000',
  },
}
SCSS
$custom: #06381c;
$custom-light: #4f6f58;
$custom-dark: #000000;
JSON
{
  "hex": "#06381c",
  "rgb": {
    "r": 6,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 146.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30095,
    "c": 0.07164,
    "h": 153.3
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#06381C
secondary
#782152
accent
#31A0F7
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #06381C

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

Preview Lab → · Contrast checker → · Palette generator →

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