#063A1F#063A1F

#063A1F is a dark, moderate green. Relative luminance 0.032; OKLCH L 30.8% C 0.071 H 154.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#063A1F
RGBrgb(6, 58, 31)
HSLhsl(149, 81%, 13%)
HSVhsv(149, 90%, 23%)
CMYKcmyk(89.7%, 0%, 46.6%, 77.3%)
CIE-LABlab(20.69, -23.99, 12.21)
CIE-LCHlch(20.69, 26.92, 153.03°)
OKLaboklab(30.81% -0.0646 0.0304)
OKLCHoklch(30.81% 0.071 154.8)
XYZxyz(1.8353, 3.1635, 1.8100)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#063A1F #3A0621
analogous
#073A06 #063A1F #063A39
triadic
#063A1F #1F063A #3A1F06
tetradic
#063A1F #06073A #3A0621 #3A3906
square
#063A1F #06073A #3A0621 #3A3906
split-complementary
#063A1F #39063A #3A0607
monochromatic
#031C0F #031C0F #063A1F #0C713D #11A95A

Accessibility & contrast

On white

12.86
#063A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #063A1F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##063A1F#FFFFFF#000000##FFFFFF
##063A1F1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341D
Deuteranopia (green-blind)
#343021
Tritanopia (blue-blind)
#003933
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #063a1f;
/* rgb */ color: rgb(6, 58, 31);
/* oklch */ color: oklch(30.8% 0.071 154.8);
Tailwind
colors: {
  custom: {
    50: '#50715b',
    500: '#063a1f',
    950: '#000000',
  },
}
SCSS
$custom: #063a1f;
$custom-light: #50715b;
$custom-dark: #000000;
JSON
{
  "hex": "#063a1f",
  "rgb": {
    "r": 6,
    "g": 58,
    "b": 31
  },
  "hsl": {
    "h": 148.846,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3081,
    "c": 0.07142,
    "h": 154.8
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#063A1F
secondary
#7A2250
accent
#3098F8
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #063A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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