#06381B#06381B

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

Color values

HEX#06381B
RGBrgb(6, 56, 27)
HSLhsl(145, 81%, 12%)
HSVhsv(145, 89%, 22%)
CMYKcmyk(89.3%, 0%, 51.8%, 78%)
CIE-LABlab(19.83, -24.00, 13.65)
CIE-LCHlch(19.83, 27.61, 150.37°)
OKLaboklab(30.07% -0.0645 0.0336)
OKLCHoklch(30.07% 0.073 152.5)
XYZxyz(1.6870, 2.9460, 1.5164)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06381B #380623
analogous
#0A3806 #06381B #063834
triadic
#06381B #1B0638 #381B06
tetradic
#06381B #060A38 #380623 #383406
square
#06381B #060A38 #380623 #383406
split-complementary
#06381B #340638 #38060A
monochromatic
#031C0D #031C0D #06381B #0C6F36 #12A750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #06381b;
/* rgb */ color: rgb(6, 56, 27);
/* oklch */ color: oklch(30.1% 0.073 152.5);
Tailwind
colors: {
  custom: {
    50: '#4f6f57',
    500: '#06381b',
    950: '#000000',
  },
}
SCSS
$custom: #06381b;
$custom-light: #4f6f57;
$custom-dark: #000000;
JSON
{
  "hex": "#06381b",
  "rgb": {
    "r": 6,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 145.2,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30073,
    "c": 0.07276,
    "h": 152.5
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#06381B
secondary
#782154
accent
#31A4F7
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #06381B

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

Preview Lab → · Contrast checker → · Palette generator →

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