#063A12#063A12

#063A12 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.6% C 0.085 H 146.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#063A12
RGBrgb(6, 58, 18)
HSLhsl(134, 81%, 13%)
HSVhsv(134, 90%, 23%)
CMYKcmyk(89.7%, 0%, 69%, 77.3%)
CIE-LABlab(20.47, -26.52, 19.88)
CIE-LCHlch(20.47, 33.14, 143.15°)
OKLaboklab(30.56% -0.0714 0.0469)
OKLCHoklch(30.56% 0.085 146.7)
XYZxyz(1.6972, 3.1083, 1.0827)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#063A12 #3A062E
analogous
#143A06 #063A12 #063A2C
triadic
#063A12 #12063A #3A1206
tetradic
#063A12 #06143A #3A062E #3A2C06
square
#063A12 #06143A #3A062E #3A2C06
split-complementary
#063A12 #2C063A #3A0614
monochromatic
#031C09 #031C09 #063A12 #0C7123 #11A934

Accessibility & contrast

On white

12.95
#063A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #063A12
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##063A12#FFFFFF#000000##FFFFFF
##063A121.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #063a12;
/* rgb */ color: rgb(6, 58, 18);
/* oklch */ color: oklch(30.6% 0.085 146.7);
Tailwind
colors: {
  custom: {
    50: '#507151',
    500: '#063a12',
    950: '#000000',
  },
}
SCSS
$custom: #063a12;
$custom-light: #507151;
$custom-dark: #000000;
JSON
{
  "hex": "#063a12",
  "rgb": {
    "r": 6,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 133.846,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30562,
    "c": 0.0854,
    "h": 146.7
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#063A12
secondary
#7A2266
accent
#30CAF8
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020702
muted
#787A78

Preview Lab

Preview with #063A12

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

Preview Lab → · Contrast checker → · Palette generator →

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