#2A7266#2A7266

#2A7266 is a mid, moderate teal. Relative luminance 0.135; OKLCH L 50.4% C 0.074 H 180.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A7266
RGBrgb(42, 114, 102)
HSLhsl(170, 46%, 31%)
HSVhsv(170, 63%, 45%)
CMYKcmyk(63.2%, 0%, 10.5%, 55.3%)
CIE-LABlab(43.49, -25.43, 0.01)
CIE-LCHlch(43.49, 25.43, 179.97°)
OKLaboklab(50.35% -0.0738 -0.0004)
OKLCHoklch(50.35% 0.074 180.3)
XYZxyz(9.3693, 13.4852, 14.6769)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7266 #722A36
analogous
#2A7242 #2A7266 #2A5A72
triadic
#2A7266 #662A72 #72662A
tetradic
#2A7266 #422A72 #722A36 #5A722A
square
#2A7266 #422A72 #722A36 #5A722A
split-complementary
#2A7266 #722A5A #72422A
monochromatic
#091916 #1A453E #2A7266 #3A9F8E #56C1AF

Accessibility & contrast

On white

5.68
#2A7266 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2A7266 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7266
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7266#FFFFFF#000000##FFFFFF
##2A72661.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6B66
Deuteranopia (green-blind)
#626367
Tritanopia (blue-blind)
#00746E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7266;
/* rgb */ color: rgb(42, 114, 102);
/* oklch */ color: oklch(50.4% 0.074 180.3);
Tailwind
colors: {
  custom: {
    50: '#6c9b91',
    500: '#2a7266',
    950: '#000000',
  },
}
SCSS
$custom: #2a7266;
$custom-light: #6c9b91;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7266",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 102
  },
  "hsl": {
    "h": 170,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.07384,
    "h": 180.3
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#2A7266
secondary
#A45461
accent
#5268D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #2A7266

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

Preview Lab → · Contrast checker → · Palette generator →

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