#064228#064228

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

Color values

HEX#064228
RGBrgb(6, 66, 40)
HSLhsl(154, 83%, 14%)
HSVhsv(154, 91%, 26%)
CMYKcmyk(90.9%, 0%, 39.4%, 74.1%)
CIE-LABlab(23.96, -25.43, 10.80)
CIE-LCHlch(23.96, 27.63, 157.00°)
OKLaboklab(33.58% -0.0688 0.0272)
OKLCHoklch(33.58% 0.074 158.4)
XYZxyz(2.4061, 4.0880, 2.6693)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064228 #420620
analogous
#06420A #064228 #063E42
triadic
#064228 #280642 #422806
tetradic
#064228 #0A0642 #420620 #3E4206
square
#064228 #0A0642 #420620 #3E4206
split-complementary
#064228 #42063E #420A06
monochromatic
#031C11 #031C11 #064228 #0B7A4A #10B26C

Accessibility & contrast

On white

11.55
#064228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #064228
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064228#FFFFFF#000000##FFFFFF
##0642281.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C26
Deuteranopia (green-blind)
#3A372A
Tritanopia (blue-blind)
#00423B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #064228;
/* rgb */ color: rgb(6, 66, 40);
/* oklch */ color: oklch(33.6% 0.074 158.4);
Tailwind
colors: {
  custom: {
    50: '#527762',
    500: '#064228',
    950: '#000000',
  },
}
SCSS
$custom: #064228;
$custom-light: #527762;
$custom-dark: #000000;
JSON
{
  "hex": "#064228",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 154,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33575,
    "c": 0.07399,
    "h": 158.4
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#064228
secondary
#82224C
accent
#2E86FA
background
#F5F7F5
surface
#E8EDEA
border
#C4C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #064228

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

Preview Lab → · Contrast checker → · Palette generator →

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