#2A7B68#2A7B68

#2A7B68 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.8% C 0.084 H 174.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2A7B68
RGBrgb(42, 123, 104)
HSLhsl(166, 49%, 32%)
HSVhsv(166, 66%, 48%)
CMYKcmyk(65.9%, 0%, 15.4%, 51.8%)
CIE-LABlab(46.52, -29.30, 3.23)
CIE-LCHlch(46.52, 29.48, 173.71°)
OKLaboklab(52.84% -0.0833 0.0081)
OKLCHoklch(52.84% 0.084 174.4)
XYZxyz(10.5353, 15.6565, 15.5608)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B68 #7B2A3D
analogous
#2A7B40 #2A7B68 #2A667B
triadic
#2A7B68 #682A7B #7B682A
tetradic
#2A7B68 #402A7B #7B2A3D #667B2A
square
#2A7B68 #402A7B #7B2A3D #667B2A
split-complementary
#2A7B68 #7B2A66 #7B402A
monochromatic
#0B201B #1A4D41 #2A7B68 #3AA98F #59C6AD

Accessibility & contrast

On white

5.08
#2A7B68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A7B68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B68
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B68#FFFFFF#000000##FFFFFF
##2A7B681.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777367
Deuteranopia (green-blind)
#6B6B69
Tritanopia (blue-blind)
#007C75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7b68;
/* rgb */ color: rgb(42, 123, 104);
/* oklch */ color: oklch(52.8% 0.084 174.4);
Tailwind
colors: {
  custom: {
    50: '#6ea293',
    500: '#2a7b68',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b68;
$custom-light: #6ea293;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b68",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 104
  },
  "hsl": {
    "h": 165.926,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.08365,
    "h": 174.4
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#2A7B68
secondary
#AC5569
accent
#4F6FD9
background
#F7FAF9
surface
#EDF3F1
border
#C8CDCB
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2A7B68

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

Preview Lab → · Contrast checker → · Palette generator →

#2A7B68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva