#064127#064127

#064127 is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.2% C 0.074 H 158.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#064127
RGBrgb(6, 65, 39)
HSLhsl(154, 83%, 14%)
HSVhsv(154, 91%, 25%)
CMYKcmyk(90.8%, 0%, 40%, 74.5%)
CIE-LABlab(23.56, -25.23, 10.89)
CIE-LCHlch(23.56, 27.48, 156.64°)
OKLaboklab(33.24% -0.0682 0.0274)
OKLCHoklch(33.24% 0.074 158.1)
XYZxyz(2.3314, 3.9655, 2.5616)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064127 #410620
analogous
#064109 #064127 #063E41
triadic
#064127 #270641 #412706
tetradic
#064127 #090641 #410620 #3E4106
square
#064127 #090641 #410620 #3E4106
split-complementary
#064127 #41063E #410906
monochromatic
#031C11 #031C11 #064127 #0B7949 #10B16A

Accessibility & contrast

On white

11.71
#064127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#064127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064127
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064127#FFFFFF#000000##FFFFFF
##0641271.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B25
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #064127;
/* rgb */ color: rgb(6, 65, 39);
/* oklch */ color: oklch(33.2% 0.074 158.1);
Tailwind
colors: {
  custom: {
    50: '#527661',
    500: '#064127',
    950: '#000000',
  },
}
SCSS
$custom: #064127;
$custom-light: #527661;
$custom-dark: #000000;
JSON
{
  "hex": "#064127",
  "rgb": {
    "r": 6,
    "g": 65,
    "b": 39
  },
  "hsl": {
    "h": 153.559,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33235,
    "c": 0.07353,
    "h": 158.1
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#064127
secondary
#81224C
accent
#2E88F9
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #064127

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

Preview Lab → · Contrast checker → · Palette generator →

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