#063812#063812

#063812 is a dark, moderate green. Relative luminance 0.029; OKLCH L 29.9% C 0.082 H 147.0°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#063812
RGBrgb(6, 56, 18)
HSLhsl(134, 81%, 12%)
HSVhsv(134, 89%, 22%)
CMYKcmyk(89.3%, 0%, 67.9%, 78%)
CIE-LABlab(19.68, -25.70, 18.95)
CIE-LCHlch(19.68, 31.94, 143.59°)
OKLaboklab(29.91% -0.0691 0.0449)
OKLCHoklch(29.91% 0.082 147)
XYZxyz(1.5983, 2.9105, 1.0497)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#063812 #38062C
analogous
#133806 #063812 #06382B
triadic
#063812 #120638 #381206
tetradic
#063812 #061338 #38062C #382B06
square
#063812 #061338 #38062C #382B06
split-complementary
#063812 #2B0638 #380613
monochromatic
#031C09 #031C09 #063812 #0C6F24 #12A736

Accessibility & contrast

On white

13.27
#063812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#063812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #063812
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##063812#FFFFFF#000000##FFFFFF
##0638121.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320E
Deuteranopia (green-blind)
#332E15
Tritanopia (blue-blind)
#003730
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #063812;
/* rgb */ color: rgb(6, 56, 18);
/* oklch */ color: oklch(29.9% 0.082 147.0);
Tailwind
colors: {
  custom: {
    50: '#506f51',
    500: '#063812',
    950: '#000000',
  },
}
SCSS
$custom: #063812;
$custom-light: #506f51;
$custom-dark: #000000;
JSON
{
  "hex": "#063812",
  "rgb": {
    "r": 6,
    "g": 56,
    "b": 18
  },
  "hsl": {
    "h": 134.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29906,
    "c": 0.08246,
    "h": 147
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#063812
secondary
#782163
accent
#31C7F7
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020702
muted
#787A78

Preview Lab

Preview with #063812

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

Preview Lab → · Contrast checker → · Palette generator →

#063812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva