#063A18#063A18

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

Color values

HEX#063A18
RGBrgb(6, 58, 24)
HSLhsl(141, 81%, 13%)
HSVhsv(141, 90%, 23%)
CMYKcmyk(89.7%, 0%, 58.6%, 77.3%)
CIE-LABlab(20.56, -25.48, 16.45)
CIE-LCHlch(20.56, 30.33, 147.16°)
OKLaboklab(30.66% -0.0684 0.0399)
OKLCHoklch(30.66% 0.079 149.8)
XYZxyz(1.7529, 3.1306, 1.3759)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#063A18 #3A0628
analogous
#0E3A06 #063A18 #063A32
triadic
#063A18 #18063A #3A1806
tetradic
#063A18 #060E3A #3A0628 #3A3206
square
#063A18 #060E3A #3A0628 #3A3206
split-complementary
#063A18 #32063A #3A060E
monochromatic
#031C0B #031C0B #063A18 #0C712F #11A946

Accessibility & contrast

On white

12.91
#063A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #063A18
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##063A18#FFFFFF#000000##FFFFFF
##063A181.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#35301B
Tritanopia (blue-blind)
#003932
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #063a18;
/* rgb */ color: rgb(6, 58, 24);
/* oklch */ color: oklch(30.7% 0.079 149.8);
Tailwind
colors: {
  custom: {
    50: '#507155',
    500: '#063a18',
    950: '#000000',
  },
}
SCSS
$custom: #063a18;
$custom-light: #507155;
$custom-dark: #000000;
JSON
{
  "hex": "#063a18",
  "rgb": {
    "r": 6,
    "g": 58,
    "b": 24
  },
  "hsl": {
    "h": 140.769,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30662,
    "c": 0.07919,
    "h": 149.8
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#063A18
secondary
#7A225C
accent
#30B3F8
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #063A18

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

Preview Lab → · Contrast checker → · Palette generator →

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