#2A7867#2A7867

#2A7867 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.081 H 175.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A7867
RGBrgb(42, 120, 103)
HSLhsl(167, 48%, 32%)
HSVhsv(167, 65%, 47%)
CMYKcmyk(65%, 0%, 14.2%, 52.9%)
CIE-LABlab(45.50, -28.12, 2.35)
CIE-LCHlch(45.50, 28.22, 175.23°)
OKLaboklab(52% -0.0803 0.0058)
OKLCHoklch(52% 0.081 175.9)
XYZxyz(10.1183, 14.9034, 15.1727)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7867 #782A3B
analogous
#2A7840 #2A7867 #2A6278
triadic
#2A7867 #672A78 #78672A
tetradic
#2A7867 #402A78 #782A3B #62782A
square
#2A7867 #402A78 #782A3B #62782A
split-complementary
#2A7867 #782A62 #78402A
monochromatic
#0A1D19 #1A4B40 #2A7867 #3AA58E #58C5AD

Accessibility & contrast

On white

5.28
#2A7867 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2A7867 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7867
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7867#FFFFFF#000000##FFFFFF
##2A78671.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747166
Deuteranopia (green-blind)
#686868
Tritanopia (blue-blind)
#007A73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7867;
/* rgb */ color: rgb(42, 120, 103);
/* oklch */ color: oklch(52.0% 0.081 175.9);
Tailwind
colors: {
  custom: {
    50: '#6d9f92',
    500: '#2a7867',
    950: '#000000',
  },
}
SCSS
$custom: #2a7867;
$custom-light: #6d9f92;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7867",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 103
  },
  "hsl": {
    "h": 166.923,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.08053,
    "h": 175.9
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#2A7867
secondary
#AA5467
accent
#506ED8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0D
muted
#7B7E7D

Preview Lab

Preview with #2A7867

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

Preview Lab → · Contrast checker → · Palette generator →

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