#063A08#063A08

#063A08 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.4% C 0.094 H 143.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#063A08
RGBrgb(6, 58, 8)
HSLhsl(122, 81%, 13%)
HSVhsv(122, 90%, 23%)
CMYKcmyk(89.7%, 0%, 86.2%, 77.3%)
CIE-LABlab(20.37, -27.78, 24.56)
CIE-LCHlch(20.37, 37.08, 138.52°)
OKLaboklab(30.44% -0.0753 0.0561)
OKLCHoklch(30.44% 0.094 143.3)
XYZxyz(1.6319, 3.0822, 0.7386)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#063A08 #3A0638
analogous
#1E3A06 #063A08 #063A22
triadic
#063A08 #08063A #3A0806
tetradic
#063A08 #061E3A #3A0638 #3A2206
square
#063A08 #061E3A #3A0638 #3A2206
split-complementary
#063A08 #22063A #3A061E
monochromatic
#031C04 #031C04 #063A08 #0C7110 #11A917

Accessibility & contrast

On white

12.99
#063A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #063A08
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##063A08#FFFFFF#000000##FFFFFF
##063A081.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3302
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#003830
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #063a08;
/* rgb */ color: rgb(6, 58, 8);
/* oklch */ color: oklch(30.4% 0.094 143.3);
Tailwind
colors: {
  custom: {
    50: '#51714b',
    500: '#063a08',
    950: '#000000',
  },
}
SCSS
$custom: #063a08;
$custom-light: #51714b;
$custom-dark: #000000;
JSON
{
  "hex": "#063a08",
  "rgb": {
    "r": 6,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 122.308,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.09386,
    "h": 143.3
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#063A08
secondary
#7A2277
accent
#30F0F8
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #063A08

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

Preview Lab → · Contrast checker → · Palette generator →

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