#063A28#063A28

#063A28 is a dark, moderate teal. Relative luminance 0.032; OKLCH L 31.1% C 0.062 H 164.2°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#063A28
RGBrgb(6, 58, 40)
HSLhsl(159, 81%, 13%)
HSVhsv(159, 90%, 23%)
CMYKcmyk(89.7%, 0%, 31%, 77.3%)
CIE-LABlab(20.90, -21.67, 6.59)
CIE-LCHlch(20.90, 22.65, 163.10°)
OKLaboklab(31.05% -0.0594 0.0168)
OKLCHoklch(31.05% 0.062 164.2)
XYZxyz(1.9709, 3.2178, 2.5243)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#063A28 #3A0618
analogous
#063A0E #063A28 #06323A
triadic
#063A28 #28063A #3A2806
tetradic
#063A28 #0E063A #3A0618 #323A06
square
#063A28 #0E063A #3A0618 #323A06
split-complementary
#063A28 #3A0632 #3A0E06
monochromatic
#031C13 #031C13 #063A28 #0C714E #11A975

Accessibility & contrast

On white

12.78
#063A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#063A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #063A28
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##063A28#FFFFFF#000000##FFFFFF
##063A281.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#003A35
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #063a28;
/* rgb */ color: rgb(6, 58, 40);
/* oklch */ color: oklch(31.1% 0.062 164.2);
Tailwind
colors: {
  custom: {
    50: '#507061',
    500: '#063a28',
    950: '#000000',
  },
}
SCSS
$custom: #063a28;
$custom-light: #507061;
$custom-dark: #000000;
JSON
{
  "hex": "#063a28",
  "rgb": {
    "r": 6,
    "g": 58,
    "b": 40
  },
  "hsl": {
    "h": 159.231,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3105,
    "c": 0.06175,
    "h": 164.2
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#063A28
secondary
#7A2240
accent
#3075F8
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020705
muted
#787A79

Preview Lab

Preview with #063A28

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

Preview Lab → · Contrast checker → · Palette generator →

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