#063A0C#063A0C

#063A0C is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.5% C 0.091 H 144.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#063A0C
RGBrgb(6, 58, 12)
HSLhsl(127, 81%, 13%)
HSVhsv(127, 90%, 23%)
CMYKcmyk(89.7%, 0%, 79.3%, 77.3%)
CIE-LABlab(20.41, -27.34, 22.92)
CIE-LCHlch(20.41, 35.68, 140.03°)
OKLaboklab(30.49% -0.0738 0.0528)
OKLCHoklch(30.49% 0.091 144.4)
XYZxyz(1.6544, 3.0912, 0.8572)
Luminance0.0309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#063A0C #3A0634
analogous
#1A3A06 #063A0C #063A26
triadic
#063A0C #0C063A #3A0C06
tetradic
#063A0C #061A3A #3A0634 #3A2606
square
#063A0C #061A3A #3A0634 #3A2606
split-complementary
#063A0C #26063A #3A061A
monochromatic
#031C06 #031C06 #063A0C #0C7117 #11A923

Accessibility & contrast

On white

12.98
#063A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#063A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #063A0C
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##063A0C#FFFFFF#000000##FFFFFF
##063A0C1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3406
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#003831
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #063a0c;
/* rgb */ color: rgb(6, 58, 12);
/* oklch */ color: oklch(30.5% 0.091 144.4);
Tailwind
colors: {
  custom: {
    50: '#51714d',
    500: '#063a0c',
    950: '#000000',
  },
}
SCSS
$custom: #063a0c;
$custom-light: #51714d;
$custom-dark: #000000;
JSON
{
  "hex": "#063a0c",
  "rgb": {
    "r": 6,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 126.923,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30485,
    "c": 0.09078,
    "h": 144.4
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#063A0C
secondary
#7A2270
accent
#30E1F8
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #063A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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