#063A1C#063A1C

#063A1C is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.7% C 0.075 H 152.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#063A1C
RGBrgb(6, 58, 28)
HSLhsl(145, 81%, 13%)
HSVhsv(145, 90%, 23%)
CMYKcmyk(89.7%, 0%, 51.7%, 77.3%)
CIE-LABlab(20.63, -24.67, 14.05)
CIE-LCHlch(20.63, 28.39, 150.34°)
OKLaboklab(30.74% -0.0663 0.0346)
OKLCHoklch(30.74% 0.075 152.4)
XYZxyz(1.7976, 3.1485, 1.6114)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#063A1C #3A0624
analogous
#0A3A06 #063A1C #063A36
triadic
#063A1C #1C063A #3A1C06
tetradic
#063A1C #060A3A #3A0624 #3A3606
square
#063A1C #060A3A #3A0624 #3A3606
split-complementary
#063A1C #36063A #3A060A
monochromatic
#031C0D #031C0D #063A1C #0C7137 #11A952

Accessibility & contrast

On white

12.89
#063A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#063A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #063A1C
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##063A1C#FFFFFF#000000##FFFFFF
##063A1C1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341A
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#003933
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #063a1c;
/* rgb */ color: rgb(6, 58, 28);
/* oklch */ color: oklch(30.7% 0.075 152.4);
Tailwind
colors: {
  custom: {
    50: '#507158',
    500: '#063a1c',
    950: '#000000',
  },
}
SCSS
$custom: #063a1c;
$custom-light: #507158;
$custom-dark: #000000;
JSON
{
  "hex": "#063a1c",
  "rgb": {
    "r": 6,
    "g": 58,
    "b": 28
  },
  "hsl": {
    "h": 145.385,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30743,
    "c": 0.07478,
    "h": 152.4
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#063A1C
secondary
#7A2255
accent
#30A3F8
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #063A1C

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

Preview Lab → · Contrast checker → · Palette generator →

#063A1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva