#2A7965#2A7965

#2A7965 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.083 H 173.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2A7965
RGBrgb(42, 121, 101)
HSLhsl(165, 48%, 32%)
HSVhsv(165, 65%, 47%)
CMYKcmyk(65.3%, 0%, 16.5%, 52.5%)
CIE-LABlab(45.78, -29.15, 3.94)
CIE-LCHlch(45.78, 29.41, 172.31°)
OKLaboklab(52.21% -0.0825 0.01)
OKLCHoklch(52.21% 0.083 173.1)
XYZxyz(10.1400, 15.1055, 14.6907)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7965 #792A3E
analogous
#2A793E #2A7965 #2A6679
triadic
#2A7965 #652A79 #79652A
tetradic
#2A7965 #3E2A79 #792A3E #66792A
square
#2A7965 #3E2A79 #792A3E #66792A
split-complementary
#2A7965 #792A66 #793E2A
monochromatic
#0A1E19 #1A4C3F #2A7965 #3AA68B #58C5AA

Accessibility & contrast

On white

5.22
#2A7965 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2A7965 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7965
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7965#FFFFFF#000000##FFFFFF
##2A79651.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7965;
/* rgb */ color: rgb(42, 121, 101);
/* oklch */ color: oklch(52.2% 0.083 173.1);
Tailwind
colors: {
  custom: {
    50: '#6da090',
    500: '#2a7965',
    950: '#000000',
  },
}
SCSS
$custom: #2a7965;
$custom-light: #6da090;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7965",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 101
  },
  "hsl": {
    "h": 164.81,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.08308,
    "h": 173.1
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

primary
#2A7965
secondary
#AB546A
accent
#5072D8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2A7965

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

Preview Lab → · Contrast checker → · Palette generator →

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