#064227#064227

#064227 is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.6% C 0.075 H 157.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#064227
RGBrgb(6, 66, 39)
HSLhsl(153, 83%, 14%)
HSVhsv(153, 91%, 26%)
CMYKcmyk(90.9%, 0%, 40.9%, 74.1%)
CIE-LABlab(23.94, -25.68, 11.41)
CIE-LCHlch(23.94, 28.10, 156.05°)
OKLaboklab(33.55% -0.0694 0.0287)
OKLCHoklch(33.55% 0.075 157.6)
XYZxyz(2.3893, 4.0813, 2.5809)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064227 #420621
analogous
#064209 #064227 #063F42
triadic
#064227 #270642 #422706
tetradic
#064227 #090642 #420621 #3F4206
square
#064227 #090642 #420621 #3F4206
split-complementary
#064227 #42063F #420906
monochromatic
#031C11 #031C11 #064227 #0B7A48 #10B269

Accessibility & contrast

On white

11.56
#064227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#064227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064227
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064227#FFFFFF#000000##FFFFFF
##0642271.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C25
Deuteranopia (green-blind)
#3A3729
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #064227;
/* rgb */ color: rgb(6, 66, 39);
/* oklch */ color: oklch(33.6% 0.075 157.6);
Tailwind
colors: {
  custom: {
    50: '#527761',
    500: '#064227',
    950: '#000000',
  },
}
SCSS
$custom: #064227;
$custom-light: #527761;
$custom-dark: #000000;
JSON
{
  "hex": "#064227",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 153,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3355,
    "c": 0.07506,
    "h": 157.6
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#064227
secondary
#82224D
accent
#2E8AFA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #064227

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

Preview Lab → · Contrast checker → · Palette generator →

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